You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
Create a non-static body. Run a few steps of the simulation. Set it to
static (0 density). Other objects won't collide with it anymore.
What is the expected output? What do you see instead?
Objects should collide; they don't. At least not properly.. they sort of
slow down but pass through like jelly.
What version of the product are you using? On what operating system?
2.1.0; Linux version 2.6.28-15-generic running on amd6
Please provide any additional information below.
Sample code:
void Object::setDensity(qreal dens) {
Q_ASSERT(m_body != NULL);
if(dens != density()) {
for(b2Fixture *f = m_body->GetFixtureList(); f; f = f->GetNext()) {
f->SetDensity(dens);
}
m_body->SetMassFromShapes();
emit propertyChanged();
}
}
Original issue reported on code.google.com by mnbaya...@gmail.com on 6 Sep 2009 at 3:56
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
mnbaya...@gmail.com
on 6 Sep 2009 at 3:56The text was updated successfully, but these errors were encountered: