playMaker

Author Topic: Best way to avoid obstacles (buildings, ships, peasants, vehicles) in RTS  (Read 2240 times)

santelia

  • Junior Playmaker
  • **
  • Posts: 78
As in subject: best way to avoid obstacles in RTS games with Unity and PlayMaker?
Not so useful the navigation meshes, because lot of obstacles are built during the game (buildings) or are moving units (ships, vehicles, peasants, etc).
Hope many of you will share their thoughts and experiences.
Thank you, mates.

Uttpd

  • Junior Playmaker
  • **
  • Posts: 70
Read about someone (not using playmaker) built a system where you add 2 cubes in the front sides of your unit, and check (raycasting?) distance to obstacles if to close --> rotate x degrees...


Haven't tried but its a start.  Going to give it a go when i get there...