Interpose

Interpose(float, MovingEntity, MovingEntity, float)

public bool Interpose(float speed, MovingEntity targetA, MovingEntity targetB, float stoppingDistance) ;

Description

Move the Agent closer to between the two Targets.

Parameters

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

Returns true if the destination setting is successful. Otherwise false.