Method GetAgentCurrentSpeed
GetAgentCurrentSpeed(RideID)
Gets the speed the agent uses while moving
Declaration
public float GetAgentCurrentSpeed(RideID agentId)
Parameters
Type | Name | Description |
---|---|---|
RideID | agentId | The agent |
Returns
Type | Description |
---|---|
System.Single | The speed the agent uses while moving |