Interpose
public bool Interpose(float speed, MovingEntity targetA, MovingEntity targetB, float stoppingDistance) ;
Move the Agent closer to between the two Targets.
Parameter Name | Description |
---|---|
speed | Speed to move |
targetA | The first Moving Entity of the object you want to approach |
targetB | The second Moving Entity of the object you want to approach |
stoppingDistance | Stopping distance |
Returns true if the destination setting is successful. Otherwise false.