Add floating boat on top of water suaface

hvalola

12-10-2012 05:23:46

hi
I want to simulate floating boat in virtual environment.
I am using hydrax as my water surface. I am trying to add a boat to float on that surface.
how to add this floating object?
Hydrax can provide the wave points height. so what is the procedure to add that.

hvalola

17-10-2012 04:40:38

hi
I calculate the wave heights to get ships pitch and roll
but it does not use physics for that like "Archimedes' principle"
How to incorporate this principle to the ship add force to that to control it.
I tried adding local force and force on top of a plane object than the force does not add to the desired direction what should i use to do this? :(

betajaen

17-10-2012 09:27:59

I remember doing something like this a few years ago. It is quite vague, but from what I remember the type of force is important; impulse comes to mind.

Edit;

You may want to look at NxOgre' s Functions classes; VolumePhysicsFunctionMoveToGlobal in particular, where it will move an Actor to a specific point for you.