Jump to content
Simio Forum
PKLusanga

Next entity on link

Recommended Posts

Has anyone used "NextEntityOnLink" ?

I want to model a chase, where an entity chases another, identifies it, stops it and changes it's direction, or destination.

Share this post


Link to post
Share on other sites

I have not modeled this situation before, but the technique you are suggesting is one good approach.


Another approach to consider is to have your entities travel in free space using the Travel step. Then you could use functions DirectDistanceTo.Location(x, y, z) and DirectDistanceTo.Object(object) to make decisions. You might need to Search a collection of entities or otherwise keep track of which entity you are interested in.

Share this post


Link to post
Share on other sites

×
×
  • Create New...