Talk:GetHeadingAngle

From the CreationKit Wiki
Jump to navigation Jump to search

Differences From Papyrus Version[edit source]

This condition function behaves unexpectedly when checking the Player Heading Angle relative to a given Reference. The function seems to interact in some way with the Player's absolute Z-angle rather than their Z-angle relative to a given reference. I tested this by orbiting my Reference, and as long as I didn't move the camera this Condition Function could return TRUE from any point of the circle around my Reference. The image below shows my conditions:

PlayerGetHeadingAngleConditionFunction.jpeg

Even more strange is that the values of 10⁰ and -10⁰ correspond in-game to 260⁰ and 280⁰ respectively (0⁰ being at 270⁰). How best can I include this information in the article? Antares (talk) 2018-07-27T05:36:05 (EDT)