supermael
21-11-2010 11:10:53
Hello !
I've got a problem with NxOgre in my game. The player can fire bullets, which are a Critter::Body with a fast velocity created like that :
This body is a cube 1x1x1, but sometimes it pass through the wall, I've even done :
What can I do to resolve this problem ?
I've got a problem with NxOgre in my game. The player can fire bullets, which are a Critter::Body with a fast velocity created like that :
mpv_Body->addForce(NxOgre::Vec3(10000, 0, 0), NxOgre::Enums::ForceMode::ForceMode_Force);
This body is a cube 1x1x1, but sometimes it pass through the wall, I've even done :
mpv_PhysicWorld->setCCDEnabled(true);
What can I do to resolve this problem ?