VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Or you could just use one line... Mattman (2 replies, 0 views) (2000-Sep-27) EnemyAngle = 360 - PlayerAngle
This is assuming degrees though, it would have to be changed to radians otherwise...
If you needed radians then just do something like this (though it could be optimized with consts and the such):
EnemyAngle = (2 * pi) - PlayerAngle
|