Profile image

I have "heading" problem [SOLVED]

338 Mihairus34  1.1 years ago

So i want to make a guided bomb that automatically tracks target, but i cant make it head to target. In game heading is 0 to 360, but in funky trees its like -180 to 180, but TargetHeading is normal. I want to know how to fix it or im just stupid. I need TargetHeading and Heading one number so i can compare them for my code working.
[Solved]

Use Heading < 0 ? 360 + Heading : Heading