I want to fix the Character’s orientation, just like it would be when they spawn. Position stays the same, but the character rotates back to normal.
This is what it shouldn’t be:
This is what it should be:
I want to fix the Character’s orientation, just like it would be when they spawn. Position stays the same, but the character rotates back to normal.
This is what it shouldn’t be:
This is what it should be:
you can use CFrame. for example when character just spawned. set the “HumanoidRootPart”,s CFrame to “HumanoidRootPart”,s Position…
hope this helps.
Tried to set orientation to CFrame, it messes it up and when the Character moves, it looks like this.
Character.HumanoidRootPart.Orientation = CFrame.new(0, 0, 0).Position
why this issue is happening? do you have a script that rotates player,s character?
Yeah, I have a script that rotates the Character for an OTS system.
and also you shouldnt change orientation… you need to change the CFrame
HumanoidRootPart.CFrame = CFrame.new(HumanoidRootPart.Position)
sorry im on phone. i cant do code blocks
No errors, but it’s still tilted.
can u make it ike this?
HumanoidRootPart.CFrame = Torso.CFrame
also get the torso too…
Torso doesn’t exist in R15, only R6.
you have to use
if player.Character.PrimaryPart then
player.Character.PrimaryPartSetPrimaryPartCFrame(CFrame.new(position) )
end
and you can rotate it by player.Character.PrimaryPart.orientation = Vector3.new(0,0,0)
That works good, only problem is it makes the character face forward and rotates it.
I did this earlier, I said in the topic.
This is what happens.
then try “UpperTorso” this should work
CFrame Has Position and Orientation… so when you set The HumanoidRootPart,s.CFrame to UpprTorso.CFrame… it will equal the Position And Orientation
iget it lol
if player.Character.PrimaryPart then
player.Character.PrimaryPart.Orientation = Vector3.new(0, 0, 0) ----- use here rotation you want
end
here you go
But since Orientation used for Anchored Parts… CFrame supports Unanchored/Anchored Parts tho.
it would make it lag… CFrame way to better
Found this, this is what happens when the rotation problem happens.
try my post please. i think that should work.