The character’s model is offset from the RootPart, which is in the correct location. The character appears normal on the client, but the characters rig is in the wrong location.
What Am I Trying To Do:
I am trying to move the character to a new location. I am planning on using the server for hitboxes later so I need the character’s rig to be in the correct location.
What Have I Tried:
I have tried setting and tweening the character’s rootpart position.
Thanks for reading! Thanks in advance if you can help me with this!
My goodness! Roblox physics are so incredibly stupid. I use a function, :MoveTo(), that literally does the exact same thing (gets rootpart then sets it’s position) and it works. Working with humanoids is so frustrating.
Edit: Looks like MoveTo is a bit different, I was thinking of translate by. Thanks for the help everyone!
I have a bit of an issue with @PseudoPerson’s answer.
I really dislike :MoveTo() and I think that the only time you would use it is when you’re uncertain of where you’re moving the character.
The :MoveTo() method functions in a similar way to how your character will spawn on a SpawnLocation, it will find the nearest open location above to place you. Obviously this is not good if you want the player to go somewhere exactly.
Instead I almost always just use this bit of code: