Conor
10-03-2008 13:44:59
Ok.. im trying to create a rope from a series of connected capsules.. in the remote debugger the physics is working correctly however the meshes I apply do not correspond to the actual capsule..
im using
m_Body = m_Scene->createBody("rope2; rope.mesh",new CapsuleShape(2,5),NxOgre::Pose(Vector3(-50,192.5,500)),"mass: 10");
now both the mesh and the cylinder should be the same size but it appears to me that the actual mesh is being applied at the center point of the cylinder giving weird looking results..
I'm using 3ds and lexiexporter I've tried moving the object in 3ds before exporting but this seems to have little to no effect.
Any ideas?
P.S. Are all physics objects dimensions related to center of gravity for example capsuleshape(2,5) creates a cylinder with radius 2 but over height of 10.
im using
m_Body = m_Scene->createBody("rope2; rope.mesh",new CapsuleShape(2,5),NxOgre::Pose(Vector3(-50,192.5,500)),"mass: 10");
now both the mesh and the cylinder should be the same size but it appears to me that the actual mesh is being applied at the center point of the cylinder giving weird looking results..
I'm using 3ds and lexiexporter I've tried moving the object in 3ds before exporting but this seems to have little to no effect.
Any ideas?
P.S. Are all physics objects dimensions related to center of gravity for example capsuleshape(2,5) creates a cylinder with radius 2 but over height of 10.