Sign in to follow this  
Vastark

Boat Navigation physics

Recommended Posts

hi every one
I have a simple boat. I need to simulate movements with addForce / addTorque.
also how can steering of ship can be done via addForce / addTorque or any other way . i try to do something but my ship drift ...

Thank you very much. Edited by Vastark

Share this post


Link to post
Share on other sites
You can apply the force at an offset (e.g. at the back of the boat) and directed a certain way to steer the boat.

Boats have high friction in left-right direction but low friction in forward-back direction, that's how you deal with drift.

"applying force at an offset" means you take a point-not-in-center-of-mass, and direction of force, and use them to calculate the torque and force on center, it's simple dynamics.

To make the boat go forward, you apply the force forward. To make the boat go left, you direct the force a little to the [i]right[/i], so that the boat turns as it goes. Edited by Zondartul

Share this post


Link to post
Share on other sites
to match a real sailing vessel, you can calculate center of effort from sails(centroid will work) and apply the force there. this will cause the vessel to heel, as well as turn. as the hull heels(rolls) and pitches the center of boyancy changes and provides force and torque as well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this