hbd760112
28-02-2008 03:49:14
/* Create Cube */
NxOgre::Body* SPHERE01_BODY;
ActorParams aps;
aps.mMass = 33;
aps.mAngularVelocity = NxVec3(0,-10,0);
SPHERE01_BODY = phyScene->createBody("SPHERE01;Sphere01.mesh",new NxOgre::SphereShape(15),Vector3(0,230,0),aps);
SPHERE01_BODY->getNxActor()->userData = "123";
with userData set, there are two things happened:
1. the SPHERE01_BODY can not collide with other body
2. sometimes, ogre occurs error dialog.
Dose anyone know what is going worng? thanks for your help.