is it possible to scale hydrax

zafery

05-01-2009 20:11:42

hi

i tried this
mHydrax->getMesh()->getSceneNode()->setScale(0.1,0.1,0.1) ;
first it seems working but the waves does not scale down water covers the camera sometime .
is there any safe way to scale hydrax..

thanks in advance

Xavyiy

06-01-2009 11:30:23

In all geometry modules constructor you can specify the water size.
If you need to change it in run-time you can update the module options with: Hydrax::Module::SimpleGrid(For example)::setOptions(...).
But you NEVER must change the water size scaling the scene node, it's not the right way.

Xavi