Extends: GSAISpecializedAgent < GSAISteeringAgent < GSAIAgentLocation
A specialized steering agent that updates itself every frame so the user does not have to using a RigidBody
Type | Name |
---|---|
RigidBody | body |
Type | Name |
---|---|
void | func _apply_steering(acceleration: GSAITargetAcceleration, _delta: float) -> void |
var body: RigidBody
Setter | _set_body
The RigidBody to keep track of
func _apply_steering(acceleration: GSAITargetAcceleration, _delta: float) -> void
Moves the agent’s body
by target acceleration
.