Hey all,
I have just started playing around with dynamica. it's just the ticket for a big project I have been working on. I have a question about something that I can't seem to find in any of the docs.
First can I turn on collisions between objects that are constrained together? I've been having some interpenetration issues, but the bullet docs suggest that I should be able to do this.
dynamica Questions
-
- Posts: 6
- Joined: Mon Sep 20, 2010 9:12 am
- Location: Madrid, Spain
Re: dynamica Questions
If two objects are constrained with a Dynamica Constraint, they collide with each. Try with more substeps. If the objects are interpenetrated at begining if the simulation try to activate Split Impulse.
-
- Posts: 53
- Joined: Thu Aug 05, 2010 5:57 pm
Re: dynamica Questions
this feature in Dynamica (collisions between constrained objects) is in flux at the moment. the next release will likely have an option to control this behavior...
if you are able to build from source, change line 144 in bt_solver.h from:
m_dynamicsWorld->addConstraint(btc->constraint(), true);
to
m_dynamicsWorld->addConstraint(btc->constraint(), false);
if you are able to build from source, change line 144 in bt_solver.h from:
m_dynamicsWorld->addConstraint(btc->constraint(), true);
to
m_dynamicsWorld->addConstraint(btc->constraint(), false);