Bug in Ghost Collision Detection?
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.
With the jit.phys.body object I don't have this problem.
Am I missing an additional command you have to send to ghost?
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.
for now, you can get the same info from the phys.world collisions dictionary:
Thank you! The sample patch supplied is working perfectly.
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.
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.