EDIT! After testing a lot, I've found that this doesn't work on every wall. I dunno what's up with some of the walls but they just mess everything up. I'll edit the solution if I find a fix.
SOLUTION:
local wallNormal = R_PointToAngle2(line.v1.x, line.v1.y, line.v2.x, line.v2.y) //finds the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.