I am having some problems understanding how I am supposed to move things about and refresh their positions on the screen.
To make a very brief description, I have about 200 threads of agents that are supposed to move on a navmesh by themselves, based on real-time decisions such as goal changing and collision avoidance.
How should I go about displaying their spatials on screen, while simultaneously refreshing their positions (moving the spatials) based on the agents’ positions on the navmesh.
I’ve tried using MotionPaths to make things ‘move’ but that kind of movement isn’t exactly what I need, because the way it works limits the actions I can do with the navmesh, because otherwise I might risk have the ‘taking off’ the navmesh and fly around erratically. I need “something” that repeatedly asks each agent for its position and refreshes the display once every x milliseconds based on that position.
I imagine people have bumped into this problem in the past so I suppose the answer is well known, but I’m really in the dark.
Any ideas ?