pandemonium_engine/modules/steering_ai/doc_classes/GSAIKinematicBody3DAgent.xml

32 lines
1.1 KiB
XML
Raw Normal View History

2023-01-14 13:38:58 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2024-04-26 17:32:25 +02:00
<class name="GSAIKinematicBody3DAgent" inherits="GSAISpecializedAgent" version="4.4">
2023-01-14 13:38:58 +01:00
<brief_description>
A specialized steering agent that updates itself every frame so the user does not have to using a KinematicBody.
2023-01-14 13:38:58 +01:00
</brief_description>
<description>
A specialized steering agent that updates itself every frame so the user does not have to using a KinematicBody.
2023-01-14 13:38:58 +01:00
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
<member name="body" type="KinematicBody" setter="set_body" getter="get_body">
The KinematicBody to keep track of.
2023-01-14 13:38:58 +01:00
</member>
<member name="movement_type" type="int" setter="set_movement_type" getter="get_movement_type" default="0">
SLIDE uses move_and_slide.
COLLIDE uses move_and_collide.
POSITION changes the global_position directly.
2023-01-14 13:38:58 +01:00
</member>
</members>
<constants>
2023-01-14 14:35:47 +01:00
<constant name="SLIDE" value="0" enum="MovementType">
</constant>
<constant name="COLLIDE" value="1" enum="MovementType">
</constant>
<constant name="POSITION" value="2" enum="MovementType">
</constant>
2023-01-14 13:38:58 +01:00
</constants>
</class>