Is there a OgreNewt::getSingletonPtr()

hellaeon

07-02-2009 15:40:40

if so, how do I get it, I cant seem to find anything in the forums.
I tried

OgreNewt::World::getNewtonWorld - but I dont think thats what the function is for....
can anyone throw me some code?

cheers

Zero23

07-02-2009 16:23:51

OgreNewt::World dont have a SingletonPointer!
You have to create your OgreNewt::World and then use this pointer to do all what you want with this :D :D

Zero