Destroy contact if type changed

This commit is contained in:
Irlan 2019-05-13 16:24:09 -03:00
parent 6f50645601
commit f1c4cf4679

View File

@ -75,4 +75,6 @@ void b3Particle::SetType(b3ParticleType type)
m_velocity.SetZero();
m_translation.SetZero();
}
m_bodyContact.active = false;
}