im trying to make a skating game and im detecting the slope based on how fast you’re moving upwards (unrelated to this problem) and im trying to make the player’s rotation be set so that you’re pointing upwards but its acting really wierd, is there any way I can get this to work?
1 Like
try an align orientation constraint
you can rotate the player’s character by rotating their primary part’s cframe
example:
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local root = character.PrimaryPart
root.CFrame *= CFrame.Angles(0, math.rad(90), 0)
this would rotate the root part by 90 degrees relative to its rotation and this change can be seen by other players or the server
I dont think that is the best way to do it, the humanoid is also trying to set the cframe and that would make it jittery