Don't use Abs for angles. If you have an angle -90, that's actually 270. Using Abs, you end up with 90.
Instead, use Mod 360. (angle = angle Mod 360)
Instead, use Mod 360. (angle = angle Mod 360)
The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.