#Algo Movement Orientation Mess
19 messages · Page 1 of 1 (latest)
Hmm
Why don't you try changing the Position property instead of CFrame
hmm
Ok I think I know what the problem is. When you do CFrame.new() alone it resets the orientation back to 0 so you need to multiply that with CFrame.Angels() to set the orientation of the end goal
CFrame = RIG:GetPivot():Lerp(CFrame.new(Position),1)
** You are now Level 1! **
Hmm since you have a target I assume that you to need to face at
thinking
Try it but I am not sure if it's going to work
I am not quite good with CFrame manipulation and math. Can you test to see if the orientation produced by this expression, "* CFrame.Angles(0, math.rad(CFrame.lookAt(RIG:GetPivot().Position, Position).Y), 0)" is correct?
Did you get any different results after you made that change?
And the orientation? Is it good?
So it still keeps getting reset to 0,0,0?
So the problem is with that expression
We need to make some changes to this.
- CFrame.Angles(0, math.rad(CFrame.lookAt(RIG:GetPivot().Position, Position).Y), 0)
ok but the problem is not solved though..?
kk
: )