kidcdf
18-01-2008 09:46:13
1.Body=mNxScene->createBody(Modelname+";"+filename, new NxOgre::CubeShape(1.0f), Vector3(0,0,0), "mass: 10, static:no");
I don't know the boundingbox of body,so whether can I get the size automatically instead of "CubeShape(1.0f)"?
2.I have added a Ogre::Geometry and a car(body) into my world, then I write "body->addForce(Vector3(10,0,10))",but my car doesn't move.
3.how can I scale the geometry?
thx for helping!
I don't know the boundingbox of body,so whether can I get the size automatically instead of "CubeShape(1.0f)"?
2.I have added a Ogre::Geometry and a car(body) into my world, then I write "body->addForce(Vector3(10,0,10))",but my car doesn't move.
3.how can I scale the geometry?
thx for helping!