zillenjack
22-05-2009 03:58:49
I want to use the [bloody mess] to create a Character Controller like PhysX's SampleCharacterController.exe
My code is here
when it is move
I am write this code:
But the box can not turn left and right when obstacles
can you show me some code?
Thank you!
My code is here
OGRE3DKinematicBody* box = mRenderSystem->createKinematicBody(new NxOgre::Box(1,1,1),NxOgre::Real3(10,1,200),"box.mesh");
when it is move
I am write this code:
NxOgre::Real3 pos = box->getGlobalPosition();
box->moveGlobalPosition(NxOgre::Real3(1,0,0)+pos);
But the box can not turn left and right when obstacles
can you show me some code?
Thank you!