BloodRedd / gamekit

Automatically exported from code.google.com/p/gamekit
1 stars 0 forks source link

body constraints and disable linked collision #175

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a joint constraint in blender
2. Check Linked Collision option
3. Run GameKit

What is the expected output? What do you see instead?
In we checked linked collision in joint constraint, the linked rigid body 
should not collide each other.

Please apply this patch:
--- gkRigidBody.cpp     (revision 949)
+++ gkRigidBody.cpp     (working copy)
@@ -209,7 +209,7 @@
                btTypedConstraint* constraint = m_owner->createConstraint(rbA, rbB, cprops);

                if (constraint)
-                       addConstraint(constraint);
+                       addConstraint(constraint, 
cprops.m_disableLinkedCollision);

        }
 }

Original issue reported on code.google.com by dokin...@gmail.com on 4 Jul 2011 at 6:16

GoogleCodeExporter commented 8 years ago
Fixed in latest trunk http://code.google.com/p/gamekit/source/detail?r=953

thanks for the report/fix!

Original comment by erwin.coumans on 5 Jul 2011 at 5:14