r/ludobots • • Feb 03 '15
[Resource] Potential tricky point
for: Giving the Robot Bendable Joints
The piece of code m_dynamicsWorld->addConstraint( joints[index]); can be modified to m_dynamicsWorld->addConstraint( joints[index] , true); so that attached pieces don't detect collisions.
4
Upvotes
View all comments
Show parent comment
1
u/[deleted] Feb 03 '15
Thanks! Wasn't too hard to find after you'd said it was there in class. (The hours I spent writing a mask last night...well).
-Andy