Jump to content

Recommended Posts

Posted

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.

Posted

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.

×
×
  • Create New...