2023-01-14 13:38:58 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-08-26 22:41:21 +02:00
|
|
|
<class name="GSAIPursue" inherits="GSAISteeringBehavior" version="4.1">
|
2023-01-14 13:38:58 +01:00
|
|
|
<brief_description>
|
2023-01-14 14:31:39 +01:00
|
|
|
Calculates an acceleration to make an agent intercept another based on the target agent's movement.
|
2023-01-14 13:38:58 +01:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2023-01-14 14:31:39 +01:00
|
|
|
Calculates an acceleration to make an agent intercept another based on the target agent's movement.
|
2023-01-14 13:38:58 +01:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
|
|
|
<method name="_get_modified_acceleration" qualifiers="virtual">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_modified_acceleration">
|
|
|
|
<return type="float" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
|
|
|
<member name="predict_time_max" type="float" setter="set_predict_time_max" getter="get_predict_time_max" default="1.0">
|
2023-01-14 14:31:39 +01:00
|
|
|
The maximum amount of time in the future the behavior predicts the target's location.
|
2023-01-14 13:38:58 +01:00
|
|
|
</member>
|
|
|
|
<member name="target" type="GSAISteeringAgent" setter="set_target" getter="get_target">
|
2023-01-14 14:31:39 +01:00
|
|
|
The target agent that the behavior is trying to intercept.
|
2023-01-14 13:38:58 +01:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|