HELP collision only works once???

I have a problem.

In my game scene, I delete an object, called myBox when it collides with the top of the screen sensor.

i use the removeSelf( method.

However, the goal of the game is to move the squares to the top sensor, and let the other shapes fall. When the user loses, then tries again, the squares (that I deleted last play) appear as i want, but wont preform the collision with the sensor that destroys them again.

What is a solution? Is there a way to recreate the squares or bring them back?

if it happens only once, that is because you have stopped the physics engine, so it will *not* collide again

cheers,

?:)

actually, i have started the physics again and gravity and the collision works. So the objects collisde, but that function that calls the change scene and turns the square red does not work again.

Disregard the last two responses, I changed the question.

views:1370 update:2011/10/22 17:28:16
corona forums © 2003-2011