Destroy contact if type changed
This commit is contained in:
parent
6f50645601
commit
f1c4cf4679
@ -75,4 +75,6 @@ void b3Particle::SetType(b3ParticleType type)
|
||||
m_velocity.SetZero();
|
||||
m_translation.SetZero();
|
||||
}
|
||||
|
||||
m_bodyContact.active = false;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user