Move To¶
Characters » Navigation » Move To
Description¶
Instructs the Character to move to a new location
Parameters¶
| Name | Description |
|---|---|
| Location | The position and rotation of the destination |
| Stop Distance | Distance to the destination that the Character considers it has reached the target |
| Cancel on Fail | Stops executing the rest of Instructions if the path has been obstructed |
| On Fail | A list of Instructions executed when it can't reach the destination |
| Character | The game object with the Character target |
Example 1¶
The Stop Distance field is useful if you want [Character A] to approach another [Character B]. With a Stop Distance of 0, [Character A] tries to occupy the same space as the other one, bumping into it. Having a Stop Distance value of 2 allows [Character A] to stop 2 units away from [Character B]'s position
Keywords¶
Walk Run Position Location Destination Character Player