{"id":18905244,"url":"https://github.com/habrador/unity-boat-physics-tutorial","last_synced_at":"2025-04-15T04:17:45.159Z","repository":{"id":40201100,"uuid":"240717566","full_name":"Habrador/Unity-Boat-physics-Tutorial","owner":"Habrador","description":"Learn how to implement boat physics in Unity","archived":false,"fork":false,"pushed_at":"2022-01-31T09:31:59.000Z","size":6445,"stargazers_count":110,"open_issues_count":1,"forks_count":35,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T04:17:39.558Z","etag":null,"topics":["boat","boat-dynamics","boat-simulation","boats","game-development","gamedev","physics","physics-simulation","tutorial","unity","unity-library","unity-tutorial","unity3d","unity3d-tutorial"],"latest_commit_sha":null,"homepage":"https://www.habrador.com/tutorials/unity-boat-tutorial/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Habrador.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-15T13:29:57.000Z","updated_at":"2025-04-06T13:25:47.000Z","dependencies_parsed_at":"2022-08-31T08:11:37.337Z","dependency_job_id":null,"html_url":"https://github.com/Habrador/Unity-Boat-physics-Tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habrador%2FUnity-Boat-physics-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habrador%2FUnity-Boat-physics-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habrador%2FUnity-Boat-physics-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Habrador%2FUnity-Boat-physics-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Habrador","download_url":"https://codeload.github.com/Habrador/Unity-Boat-physics-Tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003971,"owners_count":21196793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boat","boat-dynamics","boat-simulation","boats","game-development","gamedev","physics","physics-simulation","tutorial","unity","unity-library","unity-tutorial","unity3d","unity3d-tutorial"],"created_at":"2024-11-08T09:11:11.805Z","updated_at":"2025-04-15T04:17:45.143Z","avatar_url":"https://github.com/Habrador.png","language":"C#","readme":"# Unity Boat physics Tutorial\n\nLearn how to make a realistic boat in Unity with the physics equations used by actual boats. The main inspiration comes from this article:\n\n* [Water interaction model for boats in video games](https://www.gamedeveloper.com/programming/water-interaction-model-for-boats-in-video-games)\n\n\nYouTube video showing the result:\n\n[![Boat physics in Unity video](http://img.youtube.com/vi/6Ec-gxpC-Ik/0.jpg)](http://www.youtube.com/watch?v=6Ec-gxpC-Ik \"Boat physics in Unity video\")\n\nLink to tutorial: https://www.habrador.com/tutorials/unity-boat-tutorial/\n\nNotice 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. \n\n\n## FAQ\n\n* **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.  \n\n\n## Socials\n\nFollow me on Twitter for more Unity stuff: https://twitter.com/eriknordeus\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhabrador%2Funity-boat-physics-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhabrador%2Funity-boat-physics-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhabrador%2Funity-boat-physics-tutorial/lists"}