Soldier.moveTo 2
Moves the soldier to a specified position using CoverPosition with a new DestinationWithoutCover based on the given position and current pose.
Return value
Return Type | Description |
---|---|
void | This function doesn't return anything |
Parameters
Parameter | Type | Description |
---|---|---|
1 | vec3 | The target position. |
Examples
soldier.moveTo(vec3(10, 0, 5));