I have an NPC with a gun, everything scripted. What I is for the NPC’s torso to face the player it’s going to shoot, (not it’s whole body just it’s uppertorso/waist), How would i go about to achieve this.
Renmatou
(Renmatou)
January 9, 2021, 12:56am
#2
You could CFrame the npc’s motor3D’s.
I believe this resource can help you achieve this with little work.
Hello there, it’s me again with a small resource that I see lacking on the forum with many ,unsolved , or ones that have the general idea but incomplete scripting support questions.
Credits
@sleitnick , PID Controller from AeroGameFramework, works great but semi modified to accommodate Vector3 variables.
@ThanksRoBama , Great tutorial on PID Controllers which had excellent yet simple explanation along with great examples. Never knew it was possible to just work with P alone.
Summary
What …
1 Like