Struct PIDMovement
Core control loop for the FollowerEntity movement script.
Inner Types
Public Methods
Accelerates as quickly as possible.
Public Static Methods
Finds the bounding box in which this controller is interested in navmesh edges.
Returns either the most clockwise, or most counter-clockwise direction of the three given directions.
Calculates the closest point on any point of an edge that is inside a wedge.
Public Variables
If rotation on the spot is allowed or not.
If rotation on the spot is allowed or not.
How big of a distance to try to keep from obstacles.
How wide of a turn to make when approaching a destination for which a desired facing direction has been set.
Maximum rotation speed in degrees per second while rotating on the spot.
Maximum rotation speed in degrees per second.
Desired rotation speed in degrees per second.
Time for the agent to slow down to a complete stop when it approaches the destination point.
Time for the agent to slow down to a complete stop when it decides to change direction by turning on the spot.
Desired speed of the agent in meters per second.