mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
d516aab8fa
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
23 lines
649 B
XML
23 lines
649 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="RayShape2D" inherits="Shape2D" category="Core" version="3.0-stable">
|
|
<brief_description>
|
|
Ray shape for 2D collisions.
|
|
</brief_description>
|
|
<description>
|
|
Ray shape for 2D collisions. A ray is not really a collision body, instead it tries to separate itself from whatever is touching its far endpoint. It's often useful for characters.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="length" type="float" setter="set_length" getter="get_length">
|
|
The ray's length.
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|