RB
03-12-2005 12:47:38
Hello,
i am now creating a simple terrain demo in YAKE environment with help of PLSM2.
Demo was build on top of yapp/vehicle demo but it is still very raw. The main goal of this work is to produce environment for modeling large terrain objects which would interact with physics world (basicly using ODE as engine).
After configuring\loading terrain and some over objects i can see them and fly in the scene. But then i try to produce RayQuery application catched an assertion failure. This failure happens from time to time so problem is quite strange.
debug output:
Any help/suggestions would be appreciated.
i am now creating a simple terrain demo in YAKE environment with help of PLSM2.
Demo was build on top of yapp/vehicle demo but it is still very raw. The main goal of this work is to produce environment for modeling large terrain objects which would interact with physics world (basicly using ODE as engine).
After configuring\loading terrain and some over objects i can see them and fly in the scene. But then i try to produce RayQuery application catched an assertion failure. This failure happens from time to time so problem is quite strange.
Ogre::RaySceneQuery sceneQuery = sceneManager->createRayQuery( Ogre::Ray( Ogre::Vector3( 0, 100, 100), Ogre::Vector3::NEGATIVE_UNIT_Y ));
Ogre::Ray ray;
ray.setOrigin( Ogre::Vector3( 0, 100, 100) );
ray.setDirection( Ogre::Vector3::NEGATIVE_UNIT_Y);
sceneQuery->setRay( ray);
Ogre::RaySceneQueryResult & result = sceneQuery->execute( );
^-- here assertion fails
debug output:
OgrePagingLandScapeData2DManager.cpp:76: static Ogre::PagingLandScapeData2DManager& Ogre::PagingLandScapeData2DManager::getSingleton(): Assertion `ms_Singleton' failed.
Any help/suggestions would be appreciated.