#### Archived

This topic is now archived and is closed to further replies.

# Water/boat physics tutorial/article?

This topic is 6008 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I cannot find ANY information regarding water physics and/or boat physics. I''m in the process of writing a game solely based upon players in the water on jet skis and boats. So far its well, but there''s absolutely no physics... If anyone can think of anything that might be useful (dont get me wrong, I''ve spent many nights thinking about it), or know of any tutorials or articles, please let me know! Thanks for the help, ~Dwarf

##### Share on other sites
You might want to look up "physics" + "buoyancy" or "hydroplaning". There may be some resources at www.aerohydro.com. They are a company that produces software that is heavily used for boat design. Don''t know of any real suggestions for water ski/jet ski physics, though.

Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.

##### Share on other sites
Well I''m not looking for those types specifically, just in general.

I was thinking that if you assign each object its own

pos[3], vec[3], and mass,

you could determine its speed by using some calculations based on the time accelerated, the water resistance, mass, etc.

It''s like using car racing physics, with a whole lot less traction, right?

~Dwarf

##### Share on other sites
The resistance will be dependent on how deep you are in the water, as the air friction is much less than the fricion inside water.
That again will be dependent on how fast you are, so i see a kind of the faster, the less friction you have.
you will need to calculate the speed of your jetski, then check your ski-normal, calculate the resulting force lifting your jetski....

A lot of math if you want to do it correct.

I think I would use a modified version of the systems used for car races...
medium friction is dependant from the squared speed, also from the medium.
As you lift more out of the water with higher speed, so your medium will go from fully inside water over half-half to almost only air at highest speed...

only some thoughts on that, hope this helps you some.

##### Share on other sites
Well, using the cheap hacks that I do, I would just treat it like really slippery ground that allows intersections.

Moe''s site

##### Share on other sites
There''s an article on it in Game Programming Gems I. It goes over simulating waves & coastlines for bodies of water, and how to make realistically buoyant objects. Comes with source code/demo program on CD.

##### Share on other sites
Also, see the GDCE article at www.swrendering.com/water.html . The paper is at the bottom of the papers page, but there are screenshots and avi movies on the linked page.

##### Share on other sites
Drag also depends on whether the flow of water over the hull is laminar or turbulent.
“Physics for Game Developers”* has a chapter dedicated to ships, builds on the material from projectiles & aircraft. What’s funny, is the material in that book is rather simplistic – but the examples are far more involved than anything you’ll cover in standard college physics. When I asked my ME (mechanical engineering) buddies about 3D kinematics equations, they gave me a blank look and said statics & dynamics only covered 2D!

*by David M. Bourg – at 40 bucks it’s a good deal.

1. 1
2. 2
3. 3
4. 4
Rutin
13
5. 5

• 13
• 10
• 9
• 9
• 11
• ### Forum Statistics

• Total Topics
633692
• Total Posts
3013355
×

## Important Information

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!