2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2020-02-01 09:03:48 +08:00
<class name= "GrooveJoint2D" inherits= "Joint2D" version= "4.0" >
2017-09-13 04:42:36 +08: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>
<members >
2019-06-29 18:38:01 +08:00
<member name= "initial_offset" type= "float" setter= "set_initial_offset" getter= "get_initial_offset" default= "25.0" >
2019-06-29 21:24:23 +08: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).
2017-09-13 04:42:36 +08:00
</member>
2019-06-29 18:38:01 +08:00
<member name= "length" type= "float" setter= "set_length" getter= "get_length" default= "50.0" >
2019-06-29 21:24:23 +08:00
The groove's length. The groove is from the joint's origin towards [member length] along the joint's local Y axis.
2017-09-13 04:42:36 +08:00
</member>
</members>
</class>