Quote:
Originally Posted by DustyPorViva
I have all that being done. What's not being able to be done right is determining whether to inverse the x or y velocity because I can't figure out how to detect whether the projectile is hitting the wall on it's x or y axis.
|
Why not? the simplest solution in this situation would to be to set up two onwall checks in the shape of a cross through the ball. Then you would know which axis hit.