Jump to content
Sign in to follow this  
kocrachon

Nearest Object that is not the nearest?

Recommended Posts

Hey All,

 

I am trying to setup a trigger like this.

 

Find the nearest X from Helicopter1, that is at least 2 distance away. Basically, I am have 3 items of the same object type. As I bring them close to the helicopter, it "attachto" them. If I do just nearestobject, it always detects the first one because its attached to it, so it will always be the closest ones. So I am now trying to get it to find out the next nearest one. 

Share this post


Link to post
Share on other sites

So, part of the problem is the objects are spawned later, so the select 1 creates a Zero divisor error. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×