Unity-Boat-physics-Tutorial
Unity-Boat-physics-Tutorial copied to clipboard
Learn how to implement boat physics in Unity
Unity Boat physics Tutorial
Learn how to make a realistic boat in Unity with the physics equations used by actual boats. The main inspiration comes from this article:
YouTube video showing the result:
Link to tutorial: https://www.habrador.com/tutorials/unity-boat-tutorial/
Notice that the code here hasn't exactly the same code structure as in the tutorial. I'm still not happy with the water surface and will update with a better version in the future.
FAQ
- Why is my boat launching into the sky when it hits the water? The most likely solution to this problem is that the collider attached to the boat has to be set to convex! This by the way always true when you attach a collider to a rigibody.
Socials
Follow me on Twitter for more Unity stuff: https://twitter.com/eriknordeus