Search Unity

How do i access the steeringTarget after the current steeringTarget?

Discussion in 'Navigation' started by Boxprintz, Nov 26, 2020.

  1. Boxprintz

    Boxprintz

    Joined:
    Dec 17, 2019
    Posts:
    8
    I'm raycasting a ray from the agent in the direction of the steeringTarget with a specific length. If it reaches the steeringTarget i want to cast another ray with the remaing length towards the next one. I'm doing this to predict the position of enemies in a tower defense game which i will launch a projectile towards.