How to make something float in terrain water and not spin?

Hello!
I am making a lake, and I am trying to implement as much realism as possible. I want lily pads to be floating on the water but if someone collides with it, it won’t go spinning, but it will just drift away. The water on the lake also has a subtle current flowing so there will be little waves.
Any help is appreciated. Thank you!

1 Like

You used to be able to add a BodyGyro for the lily pad to give it a constraint on spinning, but now you must AlignOrientation… which you can read about here:

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

This will help give some torque resistance to your lily pad and keep it more stable.

Thank you for the article. It works! My lily pad now doesn’t spin as much when collided with. Just what I asked for. Thank you.

1 Like