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.
Returns either the most clockwise, or most counter-clockwise direction of the two given directions.
Finds a direction to move in that is as close as possible to the desired direction while being clear of obstacles, if possible.
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, in seconds.
Time for the agent to slow down to a complete stop when rotating on the spot.
Desired speed of the agent in meters per second.