Coder Social home page Coder Social logo

habrador / unity-boat-physics-tutorial Goto Github PK

View Code? Open in Web Editor NEW
92.0 4.0 35.0 6.29 MB

Learn how to implement boat physics in Unity

Home Page: https://www.habrador.com/tutorials/unity-boat-tutorial/

License: MIT License

ShaderLab 22.70% C# 77.30%
unity unity3d unity-tutorial unity3d-tutorial gamedev physics physics-simulation tutorial game-development boat-dynamics

unity-boat-physics-tutorial's Introduction

Hi!

Welcome to the #6135 most starred GitHub account in the world (Source) and the #126 most followed account in Sweden (Source)!

GitHub Repo stars

The one who's running the show is me, Erik Nordeus. I'm an imagineer (creative engineer) who's interested in the intersection between art and engineering. I design mostly Unity and Blender projects. After finishing my mandatory military service, defending King and country, I got a master's degree in Mechanical Engineering from the Royal Institute of Technology (KTH) in Stockholm, Sweden, where I also live. The rest is history...

My goal with my open source projects is that the code should by as easy as possible for you to understand, so I love to comment it! I once wrote a book about a guy called Elon Musk, and I read somewhere that authors are the best at commenting code because they know how to explain complicated topics in a simple way. Thus I hope I will fulfill my promises!

Connect With Me

Experiences

Languages: C# • Python • JavaScript • HTML • CSS • MATLAB • PHP • MySQL

Tools: Visual StudioBlenderUnityKrita

FAQ

  • Are you related to the company Nordeus? No, my surname Nordeus is a family name. If you googled Nordeus before the Nordeus company was founded you could only find people with that name in Sweden, so I'm not sure how they got the name. But they follow me on Twitter! Kinda funny that both of us are into Unity.

THANK YOU...

...everyone who has used and contributed to my open source projects!

If you use the code for something cool then you can @ me on twitter.com/eriknordeus and I promise to retweet!

unity-boat-physics-tutorial's People

Contributors

habrador avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

unity-boat-physics-tutorial's Issues

Quick question about drag caused by slamming

Hey Erik,
Firstly, thanks for making this, it's much appreciated.

I'm making a boating game and i have used this code to make floating more dynamic.
I'm experiencing some issues trying to get realistic water drag because the slamming causes velocity to drop quickly, even with 0 drag.

Here's a video of my issue
https://vimeo.com/774041994
First 25 seconds is using total mass = 1000 and slamming cheat = 3.
Then i turn down slamming to 1, which lets my boat glide with low drag, but this makes the boat very unstable causing rolling.

Any tips would be greatly appreciated.
I already reduced all forces by 100x, allowing me to reduce the rigidbody mass to 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.