Haden2 / Spectrum

A horror game under development
0 stars 0 forks source link

HG doesn't jump behind player correctly #60

Closed Haden2 closed 9 years ago

Haden2 commented 9 years ago

When the angle is 180/0, she is only jumping behind the player after turning 270 degrees instead of 180 degrees. The issue is in the code where behindPlayerAngle > playerAngle. Review the numbers and see where it is getting caught. I think it is from 0 and 359 degrees.

Haden2 commented 9 years ago

Fixed! Had the answer on my main player at all times really. Just use the Empty GameObjects dummy!