PKLusanga Posted July 7, 2015 Share Posted July 7, 2015 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. Link to comment Share on other sites More sharing options...
dsturrock Posted July 8, 2015 Share Posted July 8, 2015 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. Link to comment Share on other sites More sharing options...
Recommended Posts