copying the initial* to position and rotation for rigid body arrays in the

first frame
This commit is contained in:
nicola.candussi
2008-09-22 10:41:56 +00:00
parent 255de503e0
commit 106b18813e
2 changed files with 15 additions and 1 deletions

View File

@@ -293,7 +293,7 @@ void rigidBodyNode::draw( M3dView & view, const MDagPath &path,
glPushAttrib( GL_ALL_ATTRIB_BITS );
if(m_rigid_body) {
//remove the scale, since it's already include in the node transform
//remove the scale, since it's already included in the node transform
vec3f scale;
m_rigid_body->collision_shape()->get_scale(scale);