detect closest object
i've been trying to figure this out and cant for the life of me. I need for one actor to continuously check to see which of another set of actors is closest to it. i suspect its one of the extrapolate but....the math seems to be beyond me atm.
any suggestions?
any suggestions?
Comments
Not sure if it would be more efficient than everything constantly monitored
Kipper
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
thats whats bothering me.
sqrt((( self.TargetX - game.Gunx )^2+ (self.TargetY - game.Guny)^2)))
thx