FPS help

Blitz3D Forums/Blitz3D Beginners Area/FPS help

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.

Why ONLY check 5 units?

Why not do something like:
[pseudocode]
IF (X amount is less than 1.5 from center) AND (Y amount is less than 5 units from center) THEN (arrow struck zombie)
[/pseudocode]
Or you could just set up Collisions between your arrows and zombies and let Blitz do the work for you.