I am relatively new to Corona and have a question about best way to solve this problem:
I have a bullet that is moving towards a curved object (semi-circular) and when the bullet hits I want it to reflect in the opposite direction so if the tip of the bullet hits with an x,y velocity it may leave with a x,-y (for example) velocity but the bullet would be facing the new direction as well.
Is there an example like this? When I tried doing this using the physics engine I ended up with the bullet spinning and not point the right way. [import]uid: 111413 topic_id: 24484 reply_id: 324484[/import]
[import]uid: 52491 topic_id: 24484 reply_id: 99172[/import]