Follow
Follow(float, float, Vector3)
Description
It approaches the specified position
Parameters
| Parameter Name | Description |
|---|---|
| speed | Speed to move |
| stoppingDistance | Stopping distance |
| targetPosition | Objective point |
Returns
Returns true if the destination setting is successful. Otherwise false.
Follow(float, float, Transform)
Description
Approach to the position of the specified Transform
Parameters
| Parameter Name | Description |
|---|---|
| speed | Speed to move |
| stoppingDistance | Stopping distance |
| target | Objective point |
Returns
Returns true if the destination setting is successful. Otherwise false.