Convert a trace location X rotation from World to Direction from the 1st point to 2nd

Ok, see this, this is a mess

It just has a lot of stuff that has NOTHING to do with this problem like Floor normal variables, they have no effect on the math.

I’ve been ripping it apart so much that I haven’t even bothered to clean it since I break it 5 seconds later…Programming


This is how it is detecting the angles from floor point to the 2nd point.

Both are locations from a trace Meaning both are in world space.