Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can you change the rotation of the player, and keep it static?

I am currently trying to force the Player to look in one direction. The problem is that Roblox automatically rotates the player. This is what I've tried:

Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-879.083, 956.881, 815.216), Vector3.new(-906.7, 930.466, 1044.982))

Another issue is that this is in the AIR. BodyGyro was glitchy for me. Any help?

3 comments

0

CFrame.Angles?

1

Anchor the torso

0

Body Gyro should be the best way.

1 answer

✓ Accepted answer

The comments have given some good suggestions but you should really turn the AutoRotate property of the humanoid off. After this is done, you can use a body gryo, cframe, or whatever you fancy without the default behaviour in the way.

1 comment

0

Thanks, didn't know that was a property.

This discussion is preserved as it was. New answers, comments, and votes are closed.