2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
2018-01-25 08:50:56 +01:00
<class name= "GrooveJoint2D" inherits= "Joint2D" category= "Core" version= "3.0-stable" >
2017-09-12 22:42:36 +02:00
<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>
<demos >
</demos>
<methods >
</methods>
<members >
2017-09-13 08:49:40 +02:00
<member name= "initial_offset" type= "float" setter= "set_initial_offset" getter= "get_initial_offset" >
2017-10-16 14:11:43 +02:00
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]
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "length" type= "float" setter= "set_length" getter= "get_length" >
2017-10-16 14:11:43 +02:00
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]
2017-09-12 22:42:36 +02:00
</member>
</members>
<constants >
</constants>
</class>