Is the water buggy in the current SVN version? I get this error:
Assertion failed: 0 && "the lua function threw an error and exceptions are disabled." " If you want to handle the error you can use luabind::set_error_callback( )", file c:\Users\Enzi\Documents\Visual Studio 2008\Projects\nGENE\Dependencie s\LuaBind\luabind\include\luabind/detail/call_function.hpp, line 132
Are you familiar with this?
I do this for initializing, guess there is nothing wrong with it cause it's the same as with a sky, cloud or meadow node.
water.setCreator(sm); water.init(); water.setSimulated(true); TimeDate time; time.hours = 15; water.setDayTime(time); water.setPosition(0.0f, 0.0f, 0.0f); sm->getRootNode()->addChild(L"Water", water);