summaryrefslogtreecommitdiff
path: root/doc/classes/SliderJoint.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/SliderJoint.xml')
-rw-r--r--doc/classes/SliderJoint.xml56
1 files changed, 28 insertions, 28 deletions
diff --git a/doc/classes/SliderJoint.xml b/doc/classes/SliderJoint.xml
index 997930eaa3..a91f67f107 100644
--- a/doc/classes/SliderJoint.xml
+++ b/doc/classes/SliderJoint.xml
@@ -4,89 +4,89 @@
Piston kind of slider between two bodies in 3D.
</brief_description>
<description>
- Slides across the x-axis of the pivot object.
+ Slides across the X axis of the pivot object.
</description>
<tutorials>
</tutorials>
<methods>
</methods>
<members>
- <member name="angular_limit/damping" type="float" setter="set_param" getter="get_param">
+ <member name="angular_limit/damping" type="float" setter="set_param" getter="get_param" default="0.0">
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.
</member>
- <member name="angular_limit/lower_angle" type="float" setter="_set_lower_limit_angular" getter="_get_lower_limit_angular">
+ <member name="angular_limit/lower_angle" type="float" setter="_set_lower_limit_angular" getter="_get_lower_limit_angular" default="0.0">
The lower limit of rotation in the slider.
</member>
- <member name="angular_limit/restitution" type="float" setter="set_param" getter="get_param">
+ <member name="angular_limit/restitution" type="float" setter="set_param" getter="get_param" default="0.7">
The amount of restitution of the rotation when the limit is surpassed.
Does not affect damping.
</member>
- <member name="angular_limit/softness" type="float" setter="set_param" getter="get_param">
+ <member name="angular_limit/softness" type="float" setter="set_param" getter="get_param" default="1.0">
A factor applied to the all rotation once the limit is surpassed.
Makes all rotation slower when between 0 and 1.
</member>
- <member name="angular_limit/upper_angle" type="float" setter="_set_upper_limit_angular" getter="_get_upper_limit_angular">
+ <member name="angular_limit/upper_angle" type="float" setter="_set_upper_limit_angular" getter="_get_upper_limit_angular" default="0.0">
The upper limit of rotation in the slider.
</member>
- <member name="angular_motion/damping" type="float" setter="set_param" getter="get_param">
+ <member name="angular_motion/damping" type="float" setter="set_param" getter="get_param" default="1.0">
The amount of damping of the rotation in the limits.
</member>
- <member name="angular_motion/restitution" type="float" setter="set_param" getter="get_param">
+ <member name="angular_motion/restitution" type="float" setter="set_param" getter="get_param" default="0.7">
The amount of restitution of the rotation in the limits.
</member>
- <member name="angular_motion/softness" type="float" setter="set_param" getter="get_param">
+ <member name="angular_motion/softness" type="float" setter="set_param" getter="get_param" default="1.0">
A factor applied to the all rotation in the limits.
</member>
- <member name="angular_ortho/damping" type="float" setter="set_param" getter="get_param">
+ <member name="angular_ortho/damping" type="float" setter="set_param" getter="get_param" default="1.0">
The amount of damping of the rotation across axes orthogonal to the slider.
</member>
- <member name="angular_ortho/restitution" type="float" setter="set_param" getter="get_param">
+ <member name="angular_ortho/restitution" type="float" setter="set_param" getter="get_param" default="0.7">
The amount of restitution of the rotation across axes orthogonal to the slider.
</member>
- <member name="angular_ortho/softness" type="float" setter="set_param" getter="get_param">
+ <member name="angular_ortho/softness" type="float" setter="set_param" getter="get_param" default="1.0">
A factor applied to the all rotation across axes orthogonal to the slider.
</member>
- <member name="linear_limit/damping" type="float" setter="set_param" getter="get_param">
+ <member name="linear_limit/damping" type="float" setter="set_param" getter="get_param" default="1.0">
The amount of damping that happens once the limit defined by [member linear_limit/lower_distance] and [member linear_limit/upper_distance] is surpassed.
</member>
- <member name="linear_limit/lower_distance" type="float" setter="set_param" getter="get_param">
- The minimum difference between the pivot points on their x-axis before damping happens.
+ <member name="linear_limit/lower_distance" type="float" setter="set_param" getter="get_param" default="-1.0">
+ The minimum difference between the pivot points on their X axis before damping happens.
</member>
- <member name="linear_limit/restitution" type="float" setter="set_param" getter="get_param">
+ <member name="linear_limit/restitution" type="float" setter="set_param" getter="get_param" default="0.7">
The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.
</member>
- <member name="linear_limit/softness" type="float" setter="set_param" getter="get_param">
+ <member name="linear_limit/softness" type="float" setter="set_param" getter="get_param" default="1.0">
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
</member>
- <member name="linear_limit/upper_distance" type="float" setter="set_param" getter="get_param">
- The maximum difference between the pivot points on their x-axis before damping happens.
+ <member name="linear_limit/upper_distance" type="float" setter="set_param" getter="get_param" default="1.0">
+ The maximum difference between the pivot points on their X axis before damping happens.
</member>
- <member name="linear_motion/damping" type="float" setter="set_param" getter="get_param">
+ <member name="linear_motion/damping" type="float" setter="set_param" getter="get_param" default="0.0">
The amount of damping inside the slider limits.
</member>
- <member name="linear_motion/restitution" type="float" setter="set_param" getter="get_param">
+ <member name="linear_motion/restitution" type="float" setter="set_param" getter="get_param" default="0.7">
The amount of restitution inside the slider limits.
</member>
- <member name="linear_motion/softness" type="float" setter="set_param" getter="get_param">
+ <member name="linear_motion/softness" type="float" setter="set_param" getter="get_param" default="1.0">
A factor applied to the movement across the slider axis as long as the slider is in the limits. The lower, the slower the movement.
</member>
- <member name="linear_ortho/damping" type="float" setter="set_param" getter="get_param">
+ <member name="linear_ortho/damping" type="float" setter="set_param" getter="get_param" default="1.0">
The amount of damping when movement is across axes orthogonal to the slider.
</member>
- <member name="linear_ortho/restitution" type="float" setter="set_param" getter="get_param">
+ <member name="linear_ortho/restitution" type="float" setter="set_param" getter="get_param" default="0.7">
The amount of restitution when movement is across axes orthogonal to the slider.
</member>
- <member name="linear_ortho/softness" type="float" setter="set_param" getter="get_param">
+ <member name="linear_ortho/softness" type="float" setter="set_param" getter="get_param" default="1.0">
A factor applied to the movement across axes orthogonal to the slider.
</member>
</members>
<constants>
<constant name="PARAM_LINEAR_LIMIT_UPPER" value="0" enum="Param">
- The maximum difference between the pivot points on their x-axis before damping happens.
+ The maximum difference between the pivot points on their X axis before damping happens.
</constant>
<constant name="PARAM_LINEAR_LIMIT_LOWER" value="1" enum="Param">
- The minimum difference between the pivot points on their x-axis before damping happens.
+ The minimum difference between the pivot points on their X axis before damping happens.
</constant>
<constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2" enum="Param">
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
@@ -149,7 +149,7 @@
The amount of damping of the rotation across axes orthogonal to the slider.
</constant>
<constant name="PARAM_MAX" value="22" enum="Param">
- End flag of PARAM_* constants, used internally.
+ Represents the size of the [enum Param] enum.
</constant>
</constants>
</class>