Bug in Ghost Collision Detection?

Sym's icon

Hey, I'm just working with the collision detection of the jit.phys.ghost object.
The jit.phys.ghost reports collisions with the worldbox or other objects properly but the duration displayed is always 0.

Max Patch
Copy patch and select New From Clipboard in Max.

With the jit.phys.body object I don't have this problem.
Am I missing an additional command you have to send to ghost?

Rob Ramirez's icon

hi imbie.
thanks much for catching this. looks like a bug slipped in with the latest version of the physics objects.
apologies for the inconvenience, we'll have this fixed up for the next release.

Max Patch
Copy patch and select New From Clipboard in Max.

for now, you can get the same info from the phys.world collisions dictionary:

Sym's icon

Thank you! The sample patch supplied is working perfectly.

Rob Ramirez's icon

some more info.
if you disable collisions on your phys.world (@collisions 0, the default value), the phys.ghost collisions will function as expected.
this assumes you are only concerned with collisions on the phys.ghost.

nakatano's icon

13:21 : arrival on the forum to post about my problem.
13:22 : find this topic via keywords.
13:25 : my patch is completely functional.

This forum is a wonder !
Thanks a lot.