I am hoping someone here will be able to point me in the right direction. I have an bullet that is fired and will bounce around the screen. When it collides with something and changes directions, I want the object to rotate so that it is still facing the “forward” direction. Obviously physics handles the movement and bouncing between walls, but the image is always facing the same direction.
I have tried a few different ideas, mainly using the getAngleTo function from the beebegames class, but nothing seems to work quite right. The angle will always be a little off and thus the image wont rotate in the right direction.
I basically need to figure out a way to determine the angle the bullet will impact the wall or the angle is headed after the collision. Any ideas? [import]uid: 48867 topic_id: 11190 reply_id: 311190[/import]