Page 1 of 1

ocean simulator in game engine

Posted: Sat May 19, 2012 6:26 pm
by senne
Hey

I would like to have the ocean simulator animated in my game.
A boat has to sail over the water so it is not enough to use a shader.

If I start the game the ocean isn't moving. what do I have to do?

thank you for the respons

Senne

Posted: Sun May 20, 2012 11:44 am
by bill2reg
Did you try baking the ocean simulator?

Posted: Sun May 20, 2012 8:49 pm
by senne
yes but it creates a subdivided plane that isn't animated.

Posted: Mon May 21, 2012 9:14 pm
by mb
This file simulates "mathematically" the effects of waves on a boat:
http://www.4shared.com/file/NWs2RIAv/waves.html
I don't know whether this is what you're searching for: actually waves are invisible, but the boat oscillates very realistically.
Wave length, direction, amplitude, and period can be customized.

Posted: Mon May 21, 2012 11:10 pm
by senne
It's not that the boat it floating at the same point.
the problem is making an animated ocean. I wanted to do it with the ocean simulator but the animation isn't working in game mode.