fixed 2 issues, one related to wrong 'safety' catch for large objects
and COLLADA constaints didn't recognize rigid body names
This commit is contained in:
@@ -704,7 +704,7 @@ void ColladaConverter::PreparePhysicsObject(struct btRigidBodyInput& input, bool
|
||||
|
||||
|
||||
btRigidBody* body= createRigidBody(isDynamics,mass,startTransform,colShape);
|
||||
if (body && body->m_userObjectPointer)
|
||||
if (body)
|
||||
{
|
||||
//bodyName is used as identifier for constraints
|
||||
body->m_userObjectPointer = (void*)input.m_bodyName;
|
||||
|
||||
Reference in New Issue
Block a user