Bump vs. Roll Collision help...

Hello all,

Picture the case where a ball is inside a box (4 walled container). I have audio setup on my collision detection to play when the ball hits one of the box walls. However, this audio plays over and over when the ball rolls along the wall. Any suggestions for detecting a continuous roll vs. a single bump to avoid this case?

Thanks! [import]uid: 69863 topic_id: 14484 reply_id: 314484[/import]

I think one should play a sound only when the collision was over a specific force level. You can ask for that force in the afterCollision event.
[import]uid: 70114 topic_id: 14484 reply_id: 53590[/import]

I agree with Sven about checking for force, see here; http://developer.anscamobile.com/content/game-edition-collision-detection

Peach :slight_smile: [import]uid: 52491 topic_id: 14484 reply_id: 53727[/import]