Go through

Hello,

I am adding a linear Impulse to my ball, every time it touches an object it has a linear Impulse such as the one below.

ball:applyLinearImpulse( 600, 200, ball.x, ball.y )

The only problem is that it's static, and bounces off. Is there any way to make the ball go through the object and have an impulse ?

Thank you.

What you are looking for is a Sensor. Here is the relevant documentation:

http://developer.anscamobile.com/content/game-edition-physics-bodies#Sensors

views:1745 update:2011/9/20 13:12:00
corona forums © 2003-2011