Team Spartan Cookies & Milk Forums
eyeAngles reporting wrong values when the player is in a chair - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: eyeAngles reporting wrong values when the player is in a chair (/thread-3494.html)



eyeAngles reporting wrong values when the player is in a chair - The17thDoctor - 30-10-2020

ents.player():eyeAngles() does not seem to report right values when the player is in a chair

EDIT : While priting raw values it does not seem to be wrong, but despite that, I was getting wrong stuff when using it to do Plane Line intersections.


RE: eyeAngles reporting wrong values when the player is in a chair - Person8880 - 30-10-2020

While sat in a vehicle, the engine returns eye angles local to the vehicle entity, not the world.


RE: eyeAngles reporting wrong values when the player is in a chair - 57e11a - 01-11-2020

Interesting, this seems to also happen with aim positions aswell