hi, this is a very beginner question I am using bullet inside maya, and i am noticing that if two objects are constrained (e.g point constrained), they don't collide? when i remove the constraint, they collide as expected? is this a design thing in bullet or maya integration is doing something wrong?
thanks,
do constrained objects collide?
- drleviathan
- Posts: 849
- Joined: Tue Sep 30, 2014 6:03 pm
- Location: San Francisco
Re: do constrained objects collide?
In Bullet-2.82 the declaration of btDiscreteDynamicsWorld::addConstraint() looks like this:
The second argument can be used to make the linked bodies collide or not, but it defaults to having the collisions enabled. Are you setting it to true?
Code: Select all
virtual void addConstraint(btTypedConstraint* constraint, bool disableCollisionsBetweenLinkedBodies=false);
Re: do constrained objects collide?
thanks for your reply. I did a quick search for the bullet integration plugin source code with maya and I could not find any, maybe I need to search more OR maybe autodesk does not provide the plugin source code... Anyways, just knowing about this flag exists is enough for me as I know now somehow it's being set by Maya, and BTW and I could not find a corresponding flag in Maya gui...
Once thanks for your help
Once thanks for your help