Problem with Collision Angles
Posted: Mon Nov 08, 2010 4:12 pm
So I'm working on my first love game, a sling-shot kinda game using the love.physics. I've ran into a problem with getting correct collisions results from objects.
Whenever the shot hits a wall the resulting collision angle isn't correct. IE it will hit the wall with in incoming angle of say 10 degrees from the perpendicular of the wall and leave with an angle of 0 degrees, aka perpendicular to the wall, instead of -10 degrees.
I found a few hits about this on the box2d forums but couldn't find any concrete answer. Any help would be appreciated
Whenever the shot hits a wall the resulting collision angle isn't correct. IE it will hit the wall with in incoming angle of say 10 degrees from the perpendicular of the wall and leave with an angle of 0 degrees, aka perpendicular to the wall, instead of -10 degrees.
I found a few hits about this on the box2d forums but couldn't find any concrete answer. Any help would be appreciated