Bug in Ghost Collision Detection?

    Jan 03 2013 | 6:19 pm
    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?

    • Jan 03 2013 | 8:10 pm
      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:
    • Jan 03 2013 | 8:58 pm
      Thank you! The sample patch supplied is working perfectly.
    • Jan 03 2013 | 9:40 pm
      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.
    • Jan 05 2013 | 12:38 pm
      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.