AgentController

AI for the movement component that wraps the NavMeshAgent.
Used mainly through built-in Behavior's Agent.

AgentController

Properties

Property Name Description
Agent NavMeshAgent you want to control.
Animator Animator you want to control.
Moving Parameter Specify the bool parameter for setting to the Animator whether or not the Agent is moving.
Moving Speed Threshold Threshold value of the speed of moving
Speed Parameter Specify the float parameter for setting the moving speed to Animator.
Speed Type The type of value to pass to the animator's Speed parameter.
Speed Div Value The value to divide for Speed. (Used only when _SpeedType is SpeedType.DivValue)
Speed Damp Time Dump time of moving speed.
Movement Type Type of movement vector.
Not Change
Use the value of NavMeshAgent.velocity as it is.
Normalize
Use the normalized value of NavMeshAgent.velocity.
Div Speed
Use the value obtained by dividing NavMeshAgent.velocity by NavMeshAgent.speed.
Div Value
Use the value obtained by dividing NavMeshAgent.velocity by MovementDivValue.
Movement Div Value The value to divide for velocity. (Used only when _MovementType is MovementType.DivValue)
Movement X Parameter Specify the float parameter for setting the X value of the moving vector in the Agent's local space to Animator.
Movement X Damp Time Dump time of X value of moving direction vector.
Movement Y Parameter Specify the float parameter for setting the Y value of the moving direction vector in the Agent's local space to Animator.
Movement Y Damp Time Dump time of Y value of moving direction vector.
Movement Z Parameter Specify the float parameter for setting the Z value of the moving direction vector in the Agent's local space to Animator.
Movement Z Damp Time Dump time of Z value of moving direction vector.
Turn Parameter Specify the float parameter for setting the turn direction to Animator.
Turn Type Type of Turn.
Use X
Use the X value of the orientation vector.
Radian Angle
Calculate the radian angle from the XZ value of the direction vector.
Turn Damp Time Dump time in the turn direction.