SRB2 Message Board  

Go Back   SRB2 Message Board > Archived > SRB2 Forum Archives > Bug Reports (2.0.X)

Thread Tools Search this Thread
Old 08-08-2013   #1
My work is never done yet
742mph's Avatar
Default A_FindTarget and A_FindTracer ignore vertical position

I'm not sure if this has already been reported and corrected for 2.1, but A_FindTarget and A_FindTracer don't seem to use the 3D distance between objects to determine which are closest/farthest, only the horizontal 2D distance. For example, I was testing out an object that used A_FindTarget to lock onto the nearest enemy of a certain type, but if I stacked two of that enemy so that one was directly on top of the other, the object would always lock onto the lower of the two, even if it was at the exact same height as the higher one. After looking at the code for A_FindTracer, I discovered that it had that issue as well. This can be a problem in FOF-heavy levels/levels with directly vertical segments, so I'd appreciate it if it could be corrected.
<Evilgasm> the opposite of egoraptor is Toa Tahu

Last edited by Prime 2.0; 08-09-2013 at 12:49 AM.
742mph is offline  
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:52 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.