Jump to content


group formations 3D rts


1 reply to this topic

#1 Xcrypt

    New Member

  • Members
  • PipPipPip
  • 144 posts
  • LocationBelgium

Posted 27 April 2012 - 01:06 PM


I managed to get pathfinding work for a single unit, and I managed to avoid agent-agent collision, but now I need to be able to send a group of agents to some location.

This is my set-up so far:
  • waypoint pathfinding
  • the minimum distance between two nodes is a little bigger than the biggest bounding sphere radius allowed for an agent.
  • agent avoid collisions with other agents by doing some steering behaviour I based on clearpath ()

So now I need to send my agents somewhere in group. I have read some posts saying that some way to do it is to create a group leader and give the other units offsets to his position.

But then the problem is, what if the group formation cannot be achieved? eg you want to form a rectangle, but at the target position there is a structure nearby which prevents you from creating a rectangle setup.


#2 alphadog

    DevMaster Staff

  • Moderators
  • 1716 posts

Posted 01 May 2012 - 08:43 PM

http://www.red3d.com/cwr/steer/
Hyperbole is, like, the absolute best, most wonderful thing ever! However, you'd be an idiot to not think dogmatism is always bad.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users