Inherits: Joint < Spatial < Node < Object
Piston kind of slider between two bodies in 3D.
Slides across the X axis of the pivot object.
float | get_param ( Param param ) const |
void | set_param ( Param param, float value ) |
enum Param:
Default | 0.0 |
Setter | set_param(value) |
Getter | get_param() |
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.
Default | 0.0 |
The lower limit of rotation in the slider.
Default | 0.7 |
Setter | set_param(value) |
Getter | get_param() |
The amount of restitution of the rotation when the limit is surpassed.
Does not affect damping.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
A factor applied to the all rotation once the limit is surpassed.
Makes all rotation slower when between 0 and 1.
Default | 0.0 |
The upper limit of rotation in the slider.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
The amount of damping of the rotation in the limits.
Default | 0.7 |
Setter | set_param(value) |
Getter | get_param() |
The amount of restitution of the rotation in the limits.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
A factor applied to the all rotation in the limits.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
The amount of damping of the rotation across axes orthogonal to the slider.
Default | 0.7 |
Setter | set_param(value) |
Getter | get_param() |
The amount of restitution of the rotation across axes orthogonal to the slider.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
A factor applied to the all rotation across axes orthogonal to the slider.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
The amount of damping that happens once the limit defined by linear_limit/lower_distance and linear_limit/upper_distance is surpassed.
Default | -1.0 |
Setter | set_param(value) |
Getter | get_param() |
The minimum difference between the pivot points on their X axis before damping happens.
Default | 0.7 |
Setter | set_param(value) |
Getter | get_param() |
The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
The maximum difference between the pivot points on their X axis before damping happens.
Default | 0.0 |
Setter | set_param(value) |
Getter | get_param() |
The amount of damping inside the slider limits.
Default | 0.7 |
Setter | set_param(value) |
Getter | get_param() |
The amount of restitution inside the slider limits.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
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.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
The amount of damping when movement is across axes orthogonal to the slider.
Default | 0.7 |
Setter | set_param(value) |
Getter | get_param() |
The amount of restitution when movement is across axes orthogonal to the slider.
Default | 1.0 |
Setter | set_param(value) |
Getter | get_param() |
A factor applied to the movement across axes orthogonal to the slider.
© 2014–2020 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.2/classes/class_sliderjoint.html