I already know how to make the the part on the direct position of the torso, but I don't know how to make it one stud behind it.
I tried doing this...
(torso.CFrame+Vector3.new(0,0,1))
It works when you're facing a certain direction, but it will go 1 stud in front of you if you go the other direction, and 1 stud to the left if you move sideways. I need a way to make it where it will always be one stud behind the torso, no matter the direction or position.
Any answers/comments will help.
~SkeletalReality
instead of running;
part.CFrame = (torso.CFrame+Vector3.new(0,0,1))
try running the following:
part.Position = torso.CFrame.LookVector+Vector3.new(0,0,-1)
If it does not work just comment and I'll look into it, this is just the answer I know on the top of my head, so I may be wrong like anybody else. Please accept the answer if it helped!
Hey SkeletalReality,
part.CFrame = torso.CFrame * CFrame.new(0, 0, 1);
~~ KingLoneCat