Collision detection problems

I am having trouble getting fast moving bullet objects (with {isBullet = true}) to consistently collide with moving enemy objects.

I would say that successful collision occurs about 70 - 80 percent of the time. Sometimes the bullet object will overlap the enemy’s image to about it’s center before detecting a collision. Sometimes it just goes straight through.

I have even tried setting the isBullet property to the physics body associated with the enemy object as well, with no great improvement in performance.

Has anyone else had this problem? Or is anyone aware of something I could be doing differently? [import]uid: 102017 topic_id: 18956 reply_id: 318956[/import]

Take a look at this, it’s got some tips that might help solve the issue; http://blog.anscamobile.com/2011/08/solutions-to-common-physics-challenges/

Peach :slight_smile: [import]uid: 52491 topic_id: 18956 reply_id: 73021[/import]

This looks very helpful, thanks.

I will continue to play around and see if I can fix it. [import]uid: 102017 topic_id: 18956 reply_id: 73106[/import]