Evade
Evade(float, float, MovingEntity, float)
Description
Move to escape in consideration of the movement velocity of Target.
Parameters
| Parameter Name | Description |
|---|---|
| speed | Speed to move |
| distance | Distance away |
| target | Target MovingEntity |
| distanceToCorner | The distance to determine the vicinity of the corner. Used to detour corners so that you can't be cornered by the wall |
Returns
Returns true if the destination setting is successful. Otherwise false.