Jump to content

getNumContacts for two bodies


Recommended Posts

Hello

unigine 2.6.1

In scene two BodyRigid are moved trough setLinearVelocity() in OnFlush(), but only one body receives contacts getNumContacts()>0.

Using setContactCallback() works for both colliding bodies.

why second body may not have getNumContacts?

 

Link to comment

Hi,

At first sight seems like a simple omission and pretty trivial to fix.
But it may change physics behavior in some unexpected way, so I'll investigate further.

Link to comment
×
×
  • Create New...