pandemonium_engine/modules/steering_ai/doc_classes/GSAITargetAcceleration.xml

50 lines
1.5 KiB
XML
Raw Normal View History

2023-01-14 13:38:58 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
2024-02-25 10:26:26 +01:00
<class name="GSAITargetAcceleration" inherits="Reference" version="4.3">
2023-01-14 13:38:58 +01:00
<brief_description>
A desired linear and angular amount of acceleration requested by the steering system.
2023-01-14 13:38:58 +01:00
</brief_description>
<description>
A desired linear and angular amount of acceleration requested by the steering system.
2023-01-14 13:38:58 +01:00
</description>
<tutorials>
</tutorials>
<methods>
<method name="add_scaled_accel">
<return type="void" />
<argument index="0" name="accel" type="GSAITargetAcceleration" />
<argument index="1" name="scalar" type="float" />
<description>
Adds accel's components, multiplied by scalar, to this one.
2023-01-14 13:38:58 +01:00
</description>
</method>
<method name="get_magnitude">
<return type="float" />
<description>
Returns the squared magnitude of the linear and angular components.
2023-01-14 13:38:58 +01:00
</description>
</method>
<method name="get_magnitude_squared">
<return type="float" />
<description>
Returns the squared magnitude of the linear and angular components.
2023-01-14 13:38:58 +01:00
</description>
</method>
<method name="set_zero">
<return type="void" />
<description>
Sets the linear and angular components to 0.
2023-01-14 13:38:58 +01:00
</description>
</method>
</methods>
<members>
<member name="angular" type="float" setter="set_angular" getter="get_angular" default="0.0">
Angular acceleration
2023-01-14 13:38:58 +01:00
</member>
<member name="linear" type="Vector3" setter="set_linear" getter="get_linear" default="Vector3( 0, 0, 0 )">
Linear acceleration
2023-01-14 13:38:58 +01:00
</member>
</members>
<constants>
</constants>
</class>