bounds_dist() doesn't check to see if the object is on the same Z-level as its target before calculating the distance between the bounding boxes.
bounds_dist() should eject early returning 1#INF if:
either object's z variable is 0 (the object is in the contents of another object, or not on the map)
the objects' z variables are not the same.
Currently, in either of these cases, bounds_dist returns as though the object were at 1,1
I can't believe nobody has reported this.
ID:2194523
Dec 31 2016, 9:52 pm
|
|||||||||||||
Resolved
| |||||||||||||