Godot 3 Steering AI Framework
  • Godot Steering AI Framework
  • Installation
  • Getting Started
  • Code Reference
    • GSAIAgentLocation
    • GSAIArrive
    • GSAIFlee
    • GSAILookWhereYouGo
    • GSAIBlend
    • GSAIGroupBehavior
    • GSAIUtils
    • GSAIKinematicBody2DAgent
    • GSAIPriority
    • GSAIRadiusProximity
    • GSAIPursue
    • GSAIPath
    • GSAIAvoidCollisions
Powered by GitBook
On this page
  • Description
  • Properties
  • Functions
  • Enumerations
  • Property Descriptions
  • Method Descriptions
  1. Code Reference

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

const MovementType: Dictionary = {"COLLIDE":1,"POSITION":2,"SLIDE":0}

Property Descriptions

body

var body: KinematicBody2D

Setter | _set_body

The KinematicBody2D to keep track of

movement_type

var movement_type: int

The type of movement the body executes

Method Descriptions

_apply_steering (virtual)

func _apply_steering(acceleration: GSAITargetAcceleration, delta: float) -> void

Moves the agent's body by target acceleration.

PreviousGSAIUtilsNextGSAIPriority

Last updated 2 years ago