I have recently played the game "Killing Floor" in which the game is created with Unreal Engine 2.
I am trying to create a simple aimbot (Find the object table, read positions from each object, figure the closest object, find the angle to turn using coordinates, set pitch and yaw to the angle calculated from previous step).
Just a tiny bit of problem, I can't find the player's pitch or yaw in the game.
I have done the following:
* Assuming pitch is negative when looking into sky: Did range search; type float; -85 to -90 = Nothing useful
* Assuming pitch is positive when looking into sky: Did range search; type float; 85 to 90 = Nothing useful
* Assuming maximum yaw is 360: Spawned in a new map and searched float 0. Turned opposite of me and searched 180 = Nothing useful
(Same with -180 to 180 yaw; and converted to Radians; still range search, I don't know how accurate epsilon is )
Is there something I'm missing to Unreal Engine 2 Euler Angles?