32 lines
1.2 KiB
XML
32 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="Path" inherits="Spatial" category="Core" version="3.2">
|
|
<brief_description>
|
|
Contains a [Curve3D] path for [PathFollow] nodes to follow.
|
|
</brief_description>
|
|
<description>
|
|
Can have [PathFollow] child nodes moving along the [Curve3D]. See [PathFollow] for more information on the usage.
|
|
Note that the path is considered as relative to the moved nodes (children of [PathFollow]). As such, the curve should usually start with a zero vector [code](0, 0, 0)[/code].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="curve" type="Curve3D" setter="set_curve" getter="get_curve" default="Object(Curve3D,"resource_local_to_scene":false,"resource_name":"","bake_interval":0.2,"_data":{
|
|
"points": PoolVector3Array( ),
|
|
"tilts": PoolRealArray( )
|
|
},"up_vector_enabled":true,"script":null)
|
|
">
|
|
A [Curve3D] describing the path.
|
|
</member>
|
|
</members>
|
|
<signals>
|
|
<signal name="curve_changed">
|
|
<description>
|
|
Emitted when the [member curve] changes.
|
|
</description>
|
|
</signal>
|
|
</signals>
|
|
<constants>
|
|
</constants>
|
|
</class>
|