Method SetAgentSpeed
SetAgentSpeed(RideID, Single, Single)
Set the speed values of the agent used by IMovementSystem
Declaration
public void SetAgentSpeed(RideID agentId, float targetSpeed, float maxSpeed)
Parameters
Type | Name | Description |
---|---|---|
RideID | agentId | the agent |
System.Single | targetSpeed | the desired speed the agent should use when moving |
System.Single | maxSpeed | the maximum speed the agent can use when moving |