Hey all,
I’m trying to figure out the best way to shoot a bullet from a static shooter object to a dynamic object that has moved into the range of the shooter. This is my first day using Corona and its been pretty great so far, can anyone help me solve this? Right now I am trying to add the bullet during an onCollision event, but that doesn’t work because “physics.addBody() cannot be called when the world is locked and in the middle of number crunching, such as during a collision event”.
Any help is appreciated, thank you in advance!