How to prevent parts from rotating and outweighing

I came across a problem by trying to create a boat

whenever a player steps on a boat, if the step point is not the center of the boat (mass center) boat begins to tilt

same if you make a 2,2,2 part and make a player step on it, it will start spinning

Is there a way to prevent parts from it?

Yes you will want to use AlignOrientation and you can read about it here:

https://developer.roblox.com/en-us/api-reference/class/AlignOrientation

1 Like