- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
23 lines
995 B
XML
23 lines
995 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GrooveJoint2D" inherits="Joint2D" category="Core" version="3.2">
|
|
<brief_description>
|
|
Groove constraint for 2D physics.
|
|
</brief_description>
|
|
<description>
|
|
Groove constraint for 2D physics. This is useful for making a body "slide" through a segment placed in another.
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
</methods>
|
|
<members>
|
|
<member name="initial_offset" type="float" setter="set_initial_offset" getter="get_initial_offset">
|
|
The body B's initial anchor position defined by the joint's origin and a local offset [member initial_offset] along the joint's Y axis (along the groove). Default value: [code]25[/code].
|
|
</member>
|
|
<member name="length" type="float" setter="set_length" getter="get_length">
|
|
The groove's length. The groove is from the joint's origin towards [member length] along the joint's local Y axis. Default value: [code]50[/code].
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|