Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

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...