CmonGirl
09-11-2010 18:57:02
Hi guys.
I have a big problem I cant do heavy object. I tried change mMast and desinty but did not work. I wanna a heavy box. Someone help me pls.
I have a big problem I cant do heavy object. I tried change mMast and desinty but did not work. I wanna a heavy box. Someone help me pls.
NxOgre::Mesh* FreightMesh = NxOgre::MeshManager::getSingleton()->load("media:box.nxs");
NxOgre::RigidBodyDescription Rgd = NxOgre::RigidBodyDescription();
//Rgd.mDensity = 0;
Rgd.mMass = 1000;
FreightBody = mRenderSystem->createBody(new NxOgre::Convex(FreightMesh),InitDesc.SpawnLocation,"box.mesh",Rgd);