Method DriveTo
DriveTo(Vehicle, Vector3, Single, Single)
Declaration
public void DriveTo(Vehicle vehicle, Vector3 position, float radius, float speed)
Parameters
Type |
Name |
Description |
Vehicle |
vehicle |
|
Vector3 |
position |
|
System.Single |
radius |
|
System.Single |
speed |
|
DriveTo(Vehicle, Vector3, Single, Single, Int32)
Declaration
public void DriveTo(Vehicle vehicle, Vector3 position, float radius, float speed, int drivingstyle)
Parameters
Type |
Name |
Description |
Vehicle |
vehicle |
|
Vector3 |
position |
|
System.Single |
radius |
|
System.Single |
speed |
|
System.Int32 |
drivingstyle |
|