GMS 2 (Solved) Getting negative value for point_direction?

Biosyn

Member
Hi,

I've tried googling for a solution, but can't find it. I'm basically just trying to get my angle variable for an AI pointer object to get negative values. Ideally, it'd be preferable to use point_direction which afaik only shows an angle value between 0 and 359 inclusive. I'd like the function to get values between -90 and +90 inclusive when the pointer object is facing right.

I tried clamping with a negative value, as well as trying to set the angle to 360-point_direction(...) but neither worked.

Would appreciate any input!
 
Top