GSAIKinematicBody2DAgent
Extends: GSAISpecializedAgent < GSAISteeringAgent < GSAIAgentLocation
Description
A specialized steering agent that updates itself every frame so the user does not have to using a KinematicBody2D
Properties
Type
Name
KinematicBody2D
body
int
movement_type
Functions
Type
Name
void
func _apply_steering(acceleration: GSAITargetAcceleration, delta: float) -> void
Enumerations
MovementType
Property Descriptions
body
Setter | _set_body
The KinematicBody2D to keep track of
movement_type
The type of movement the body executes
Method Descriptions
_apply_steering (virtual)
Moves the agent's body
by target acceleration
.
Last updated