2017-09-12 22:42:36 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
<class name= "SliderJoint" inherits= "Joint" category= "Core" version= "3.0.alpha.custom_build" >
<brief_description >
2017-10-14 12:19:03 +02:00
Piston kind of slider between two bodies in 3D.
2017-09-12 22:42:36 +02:00
</brief_description>
<description >
2017-10-14 12:19:03 +02:00
Slides across the x-axis of the [Pivot] object.
2017-09-12 22:42:36 +02:00
</description>
<tutorials >
</tutorials>
<demos >
</demos>
<methods >
<method name= "get_param" qualifiers= "const" >
<return type= "float" >
</return>
<argument index= "0" name= "param" type= "int" enum= "SliderJoint.Param" >
</argument>
<description >
</description>
</method>
<method name= "set_param" >
<return type= "void" >
</return>
<argument index= "0" name= "param" type= "int" enum= "SliderJoint.Param" >
</argument>
<argument index= "1" name= "value" type= "float" >
</argument>
<description >
</description>
</method>
</methods>
<members >
2017-09-13 08:49:40 +02:00
<member name= "angular_limit/damping" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of damping of the rotation when the limit is surpassed.
A lower damping value allows a rotation initiated by body A to travel to body B slower.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_limit/lower_angle" type= "float" setter= "_set_lower_limit_angular" getter= "_get_lower_limit_angular" >
2017-10-14 12:19:03 +02:00
The lower limit of rotation in the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_limit/restitution" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of restitution of the rotation when the limit is surpassed.
Does not affect damping.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_limit/softness" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
A factor applied to the all rotation once the limit is surpassed.
Makes all rotation slower when between 0 and 1.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_limit/upper_angle" type= "float" setter= "_set_upper_limit_angular" getter= "_get_upper_limit_angular" >
2017-10-14 12:19:03 +02:00
The upper limit of rotation in the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_motion/damping" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of damping of the rotation in the limits.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_motion/restitution" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of restitution of the rotation in the limits.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_motion/softness" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
A factor applied to the all rotation in the limits.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_ortho/damping" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of damping of the rotation across axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_ortho/restitution" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of restitution of the rotation across axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "angular_ortho/softness" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
A factor applied to the all rotation across axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_limit/damping" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of damping that happens once the limit defined by [member linear_limit/lower_distance] and [member linear_limit/upper_distance] is surpassed.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_limit/lower_distance" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The minimum difference between the pivot points on their x-axis before damping happens.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_limit/restitution" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_limit/softness" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
A factor applied to the movement accross the slider axis once the limits get surpassed. The lower, the slower the movement.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_limit/upper_distance" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The maximum difference between the pivot points on their x-axis before damping happens.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_motion/damping" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of damping inside the slider limits.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_motion/restitution" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of restitution inside the slider limits.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_motion/softness" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
A factor applied to the movement accross the slider axis as long as the slider is in the limits. The lower, the slower the movement.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_ortho/damping" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of damping when movement is accross axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_ortho/restitution" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
The amount of restitution when movement is accross axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</member>
2017-09-13 08:49:40 +02:00
<member name= "linear_ortho/softness" type= "float" setter= "set_param" getter= "get_param" >
2017-10-14 12:19:03 +02:00
A factor applied to the movement accross axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</member>
</members>
<constants >
<constant name= "PARAM_LINEAR_LIMIT_UPPER" value= "0" >
2017-10-14 12:19:03 +02:00
The maximum difference between the pivot points on their x-axis before damping happens.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_LIMIT_LOWER" value= "1" >
2017-10-14 12:19:03 +02:00
The minimum difference between the pivot points on their x-axis before damping happens.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_LIMIT_SOFTNESS" value= "2" >
2017-10-14 12:19:03 +02:00
A factor applied to the movement accross the slider axis once the limits get surpassed. The lower, the slower the movement.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_LIMIT_RESTITUTION" value= "3" >
2017-10-14 12:19:03 +02:00
The amount of restitution once the limits are surpassed. The lower, the more velocityenergy gets lost.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_LIMIT_DAMPING" value= "4" >
2017-10-14 12:19:03 +02:00
The amount of damping once the slider limits are surpassed.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_MOTION_SOFTNESS" value= "5" >
2017-10-14 12:19:03 +02:00
A factor applied to the movement accross the slider axis as long as the slider is in the limits. The lower, the slower the movement.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_MOTION_RESTITUTION" value= "6" >
2017-10-14 12:19:03 +02:00
The amount of restitution inside the slider limits.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_MOTION_DAMPING" value= "7" >
2017-10-14 12:19:03 +02:00
The amount of damping inside the slider limits.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_ORTHOGONAL_SOFTNESS" value= "8" >
2017-10-14 12:19:03 +02:00
A factor applied to the movement accross axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_ORTHOGONAL_RESTITUTION" value= "9" >
2017-10-14 12:19:03 +02:00
The amount of restitution when movement is accross axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_LINEAR_ORTHOGONAL_DAMPING" value= "10" >
2017-10-14 12:19:03 +02:00
The amount of damping when movement is accross axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_LIMIT_UPPER" value= "11" >
2017-10-14 12:19:03 +02:00
The upper limit of rotation in the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_LIMIT_LOWER" value= "12" >
2017-10-14 12:19:03 +02:00
The lower limit of rotation in the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_LIMIT_SOFTNESS" value= "13" >
2017-10-14 12:19:03 +02:00
A factor applied to the all rotation once the limit is surpassed.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_LIMIT_RESTITUTION" value= "14" >
2017-10-14 12:19:03 +02:00
The amount of restitution of the rotation when the limit is surpassed.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_LIMIT_DAMPING" value= "15" >
2017-10-14 12:19:03 +02:00
The amount of damping of the rotation when the limit is surpassed.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_MOTION_SOFTNESS" value= "16" >
2017-10-14 12:19:03 +02:00
A factor applied to the all rotation in the limits.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_MOTION_RESTITUTION" value= "17" >
2017-10-14 12:19:03 +02:00
The amount of restitution of the rotation in the limits.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_MOTION_DAMPING" value= "18" >
2017-10-14 12:19:03 +02:00
The amount of damping of the rotation in the limits.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_ORTHOGONAL_SOFTNESS" value= "19" >
2017-10-14 12:19:03 +02:00
A factor applied to the all rotation across axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_ORTHOGONAL_RESTITUTION" value= "20" >
2017-10-14 12:19:03 +02:00
The amount of restitution of the rotation across axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_ANGULAR_ORTHOGONAL_DAMPING" value= "21" >
2017-10-14 12:19:03 +02:00
The amount of damping of the rotation across axes orthogonal to the slider.
2017-09-12 22:42:36 +02:00
</constant>
<constant name= "PARAM_MAX" value= "22" >
2017-10-14 12:19:03 +02:00
End flag of PARAM_* constants, used internally.
2017-09-12 22:42:36 +02:00
</constant>
</constants>
</class>