2017-09-12 20:42:36 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2017-11-15 17:37:54 +00:00
<class name= "Generic6DOFJoint" inherits= "Joint" category= "Core" version= "3.0-alpha" >
2017-09-12 20:42:36 +00:00
<brief_description >
2017-10-14 10:19:03 +00:00
The generic 6 degrees of freedom joint can implement a variety of joint-types by locking certain axes' rotation or translation.
2017-09-12 20:42:36 +00:00
</brief_description>
<description >
2017-10-14 10:19:03 +00:00
The first 3 dof axes are linear axes, which represent translation of Bodies, and the latter 3 dof axes represent the angular motion. Each axis can be either locked, or limited.
2017-09-12 20:42:36 +00:00
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
<method name= "get_flag_x" qualifiers= "const" >
<return type= "bool" >
</return>
<argument index= "0" name= "flag" type= "int" enum= "Generic6DOFJoint.Flag" >
</argument>
<description >
</description>
</method>
<method name= "get_flag_y" qualifiers= "const" >
<return type= "bool" >
</return>
<argument index= "0" name= "flag" type= "int" enum= "Generic6DOFJoint.Flag" >
</argument>
<description >
</description>
</method>
<method name= "get_flag_z" qualifiers= "const" >
<return type= "bool" >
</return>
<argument index= "0" name= "flag" type= "int" enum= "Generic6DOFJoint.Flag" >
</argument>
<description >
</description>
</method>
<method name= "get_param_x" qualifiers= "const" >
<return type= "float" >
</return>
<argument index= "0" name= "param" type= "int" enum= "Generic6DOFJoint.Param" >
</argument>
<description >
</description>
</method>
<method name= "get_param_y" qualifiers= "const" >
<return type= "float" >
</return>
<argument index= "0" name= "param" type= "int" enum= "Generic6DOFJoint.Param" >
</argument>
<description >
</description>
</method>
<method name= "get_param_z" qualifiers= "const" >
<return type= "float" >
</return>
<argument index= "0" name= "param" type= "int" enum= "Generic6DOFJoint.Param" >
</argument>
<description >
</description>
</method>
<method name= "set_flag_x" >
<return type= "void" >
</return>
<argument index= "0" name= "flag" type= "int" enum= "Generic6DOFJoint.Flag" >
</argument>
<argument index= "1" name= "value" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_flag_y" >
<return type= "void" >
</return>
<argument index= "0" name= "flag" type= "int" enum= "Generic6DOFJoint.Flag" >
</argument>
<argument index= "1" name= "value" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_flag_z" >
<return type= "void" >
</return>
<argument index= "0" name= "flag" type= "int" enum= "Generic6DOFJoint.Flag" >
</argument>
<argument index= "1" name= "value" type= "bool" >
</argument>
<description >
</description>
</method>
<method name= "set_param_x" >
<return type= "void" >
</return>
<argument index= "0" name= "param" type= "int" enum= "Generic6DOFJoint.Param" >
</argument>
<argument index= "1" name= "value" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_param_y" >
<return type= "void" >
</return>
<argument index= "0" name= "param" type= "int" enum= "Generic6DOFJoint.Param" >
</argument>
<argument index= "1" name= "value" type= "float" >
</argument>
<description >
</description>
</method>
<method name= "set_param_z" >
<return type= "void" >
</return>
<argument index= "0" name= "param" type= "int" enum= "Generic6DOFJoint.Param" >
</argument>
<argument index= "1" name= "value" type= "float" >
</argument>
<description >
</description>
</method>
</methods>
<members >
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/damping" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The amount of rotational damping across the x-axis.
The lower, the longer an impulse from one side takes to travel to the other side.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/enabled" type= "bool" setter= "set_flag_x" getter= "get_flag_x" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] rotation across the x-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/erp" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
When rotating across x-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/force_limit" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The maximum amount of force that can occur, when rotating arround x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/lower_angle" type= "float" setter= "_set_angular_lo_limit_x" getter= "_get_angular_lo_limit_x" >
2017-10-14 10:19:03 +00:00
The minimum rotation in negative direction to break loose and rotate arround the x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/restitution" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The amount of rotational restitution across the x-axis. The lower, the more restitution occurs.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/softness" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The speed of all rotations across the x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_x/upper_angle" type= "float" setter= "_set_angular_hi_limit_x" getter= "_get_angular_hi_limit_x" >
2017-10-14 10:19:03 +00:00
The minimum rotation in positive direction to break loose and rotate arround the x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/damping" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The amount of rotational damping across the y-axis. The lower, the more dampening occurs.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/enabled" type= "bool" setter= "set_flag_y" getter= "get_flag_y" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] rotation across the y-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/erp" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
When rotating across y-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/force_limit" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The maximum amount of force that can occur, when rotating arround y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/lower_angle" type= "float" setter= "_set_angular_lo_limit_y" getter= "_get_angular_lo_limit_y" >
2017-10-14 10:19:03 +00:00
The minimum rotation in negative direction to break loose and rotate arround the y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/restitution" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The amount of rotational restitution across the y-axis. The lower, the more restitution occurs.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/softness" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The speed of all rotations across the y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_y/upper_angle" type= "float" setter= "_set_angular_hi_limit_y" getter= "_get_angular_hi_limit_y" >
2017-10-14 10:19:03 +00:00
The minimum rotation in positive direction to break loose and rotate arround the y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/damping" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The amount of rotational damping across the z-axis. The lower, the more dampening occurs.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/enabled" type= "bool" setter= "set_flag_z" getter= "get_flag_z" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] rotation across the z-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/erp" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
When rotating across z-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/force_limit" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The maximum amount of force that can occur, when rotating arround z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/lower_angle" type= "float" setter= "_set_angular_lo_limit_z" getter= "_get_angular_lo_limit_z" >
2017-10-14 10:19:03 +00:00
The minimum rotation in negative direction to break loose and rotate arround the z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/restitution" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The amount of rotational restitution across the z-axis. The lower, the more restitution occurs.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/softness" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The speed of all rotations across the z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_limit_z/upper_angle" type= "float" setter= "_set_angular_hi_limit_z" getter= "_get_angular_hi_limit_z" >
2017-10-14 10:19:03 +00:00
The minimum rotation in positive direction to break loose and rotate arround the z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_x/enabled" type= "bool" setter= "set_flag_x" getter= "get_flag_x" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] a rotating motor at the x-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_x/force_limit" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
Maximum acceleration for the motor at the x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_x/target_velocity" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
Target speed for the motor at the x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_y/enabled" type= "bool" setter= "set_flag_y" getter= "get_flag_y" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] a rotating motor at the y-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_y/force_limit" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
Maximum acceleration for the motor at the y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_y/target_velocity" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
Target speed for the motor at the y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_z/enabled" type= "bool" setter= "set_flag_z" getter= "get_flag_z" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] a rotating motor at the z-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_z/force_limit" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
Maximum acceleration for the motor at the z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "angular_motor_z/target_velocity" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
Target speed for the motor at the z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_x/damping" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The amount of damping that happens at the x-motion.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_x/enabled" type= "bool" setter= "set_flag_x" getter= "get_flag_x" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] the linear motion across the x-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_x/lower_distance" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The minimum difference between the pivot points' x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_x/restitution" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The amount of restitution on the x-axis movement The lower, the more momentum gets lost.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_x/softness" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
A factor applied to the movement across the x-axis The lower, the slower the movement.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_x/upper_distance" type= "float" setter= "set_param_x" getter= "get_param_x" >
2017-10-14 10:19:03 +00:00
The maximum difference between the pivot points' x-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_y/damping" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The amount of damping that happens at the y-motion.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_y/enabled" type= "bool" setter= "set_flag_y" getter= "get_flag_y" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] the linear motion across the y-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_y/lower_distance" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The minimum difference between the pivot points' y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_y/restitution" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The amount of restitution on the y-axis movement The lower, the more momentum gets lost.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_y/softness" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
A factor applied to the movement across the y-axis The lower, the slower the movement.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_y/upper_distance" type= "float" setter= "set_param_y" getter= "get_param_y" >
2017-10-14 10:19:03 +00:00
The maximum difference between the pivot points' y-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_z/damping" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The amount of damping that happens at the z-motion.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_z/enabled" type= "bool" setter= "set_flag_z" getter= "get_flag_z" >
2017-10-14 10:19:03 +00:00
If [code]true[/code] the linear motion across the z-axis is enabled.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_z/lower_distance" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The minimum difference between the pivot points' z-axis.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_z/restitution" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The amount of restitution on the z-axis movement The lower, the more momentum gets lost.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_z/softness" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
A factor applied to the movement across the z-axis The lower, the slower the movement.
2017-09-12 20:42:36 +00:00
</member>
2017-09-13 06:49:40 +00:00
<member name= "linear_limit_z/upper_distance" type= "float" setter= "set_param_z" getter= "get_param_z" >
2017-10-14 10:19:03 +00:00
The maximum difference between the pivot points' z-axis.
2017-09-12 20:42:36 +00:00
</member>
</members>
<constants >
<constant name= "PARAM_LINEAR_LOWER_LIMIT" value= "0" >
2017-10-14 10:19:03 +00:00
The minimum difference between the pivot points' axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_LINEAR_UPPER_LIMIT" value= "1" >
2017-10-14 10:19:03 +00:00
The maximum difference between the pivot points' axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_LINEAR_LIMIT_SOFTNESS" value= "2" >
2017-10-14 10:19:03 +00:00
A factor applied to the movement across the axes The lower, the slower the movement.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_LINEAR_RESTITUTION" value= "3" >
2017-10-14 10:19:03 +00:00
The amount of restitution on the axes movement The lower, the more momentum gets lost.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_LINEAR_DAMPING" value= "4" >
2017-10-14 10:19:03 +00:00
The amount of damping that happens at the linear motion across the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_LOWER_LIMIT" value= "5" >
2017-10-14 10:19:03 +00:00
The minimum rotation in negative direction to break loose and rotate arround the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_UPPER_LIMIT" value= "6" >
2017-10-14 10:19:03 +00:00
The minimum rotation in positive direction to break loose and rotate arround the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_LIMIT_SOFTNESS" value= "7" >
2017-10-14 10:19:03 +00:00
The speed of all rotations across the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_DAMPING" value= "8" >
2017-10-14 10:19:03 +00:00
The amount of rotational damping across the axes. The lower, the more dampening occurs.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_RESTITUTION" value= "9" >
2017-10-14 10:19:03 +00:00
The amount of rotational restitution across the axes. The lower, the more restitution occurs.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_FORCE_LIMIT" value= "10" >
2017-10-14 10:19:03 +00:00
The maximum amount of force that can occur, when rotating arround the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_ERP" value= "11" >
2017-10-14 10:19:03 +00:00
When rotating across the axes, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_MOTOR_TARGET_VELOCITY" value= "12" >
2017-10-14 10:19:03 +00:00
Target speed for the motor at the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_ANGULAR_MOTOR_FORCE_LIMIT" value= "13" >
2017-10-14 10:19:03 +00:00
Maximum acceleration for the motor at the axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "PARAM_MAX" value= "14" >
2017-10-14 10:19:03 +00:00
End flag of PARAM_* constants, used internally.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "FLAG_ENABLE_LINEAR_LIMIT" value= "0" >
2017-10-14 10:19:03 +00:00
If [code]set[/code] there is linear motion possible within the given limits.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "FLAG_ENABLE_ANGULAR_LIMIT" value= "1" >
2017-10-14 10:19:03 +00:00
If [code]set[/code] there is rotational motion possible.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "FLAG_ENABLE_MOTOR" value= "2" >
2017-10-14 10:19:03 +00:00
If [code]set[/code] there is a rotational motor across these axes.
2017-09-12 20:42:36 +00:00
</constant>
<constant name= "FLAG_MAX" value= "3" >
2017-10-14 10:19:03 +00:00
End flag of FLAG_* constants, used internally.
2017-09-12 20:42:36 +00:00
</constant>
</constants>
</class>