Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to create a CFrame looking from Vector3(1) to Vector3(2) while its rotated?

Asked by 6 years ago

i was trying to create this but it wasnt working perfectly it was rotating to weird sides or fading to the left and afterwards going back to the point its ment to go it was really weird.

Character.CFrame = CFrame.new((Rotatedpart.CFrame.p * -1) + Character.Position , RotatedPart.Position) * RotatedPart.CFrame

i also need to add some orientation to the character so it wont be facing straight up.

If you know anything please let me know.

Answer this question