class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectNodeNode3DJoint3D SliderJoint3D
A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body.
A physics joint that restricts the movement of a 3D physics body along an axis relative to another physics body. For example, Body A could be a StaticBody3D representing a piston base, while Body B could be a RigidBody3D representing the piston head, moving up and down.
Enum Param<>():Enum

PARAM_LINEAR_LIMIT_UPPER:null = 0
Constant for accessing [member linear_limit/upper_distance]. The maximum difference between the pivot points on their X axis before damping happens.


PARAM_LINEAR_LIMIT_LOWER:null = 1
Constant for accessing [member linear_limit/lower_distance]. The minimum difference between the pivot points on their X axis before damping happens.


PARAM_LINEAR_LIMIT_SOFTNESS:null = 2
Constant for accessing [member linear_limit/softness]. A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.


PARAM_LINEAR_LIMIT_RESTITUTION:null = 3
Constant for accessing [member linear_limit/restitution]. The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.


PARAM_LINEAR_LIMIT_DAMPING:null = 4
Constant for accessing [member linear_limit/damping]. The amount of damping once the slider limits are surpassed.


PARAM_LINEAR_MOTION_SOFTNESS:null = 5
Constant for accessing [member linear_motion/softness]. 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.


PARAM_LINEAR_MOTION_RESTITUTION:null = 6
Constant for accessing [member linear_motion/restitution]. The amount of restitution inside the slider limits.


PARAM_LINEAR_MOTION_DAMPING:null = 7
Constant for accessing [member linear_motion/damping]. The amount of damping inside the slider limits.


PARAM_LINEAR_ORTHOGONAL_SOFTNESS:null = 8
Constant for accessing [member linear_ortho/softness]. A factor applied to the movement across axes orthogonal to the slider.


PARAM_LINEAR_ORTHOGONAL_RESTITUTION:null = 9
Constant for accessing [member linear_motion/restitution]. The amount of restitution when movement is across axes orthogonal to the slider.


PARAM_LINEAR_ORTHOGONAL_DAMPING:null = 10
Constant for accessing [member linear_motion/damping]. The amount of damping when movement is across axes orthogonal to the slider.


PARAM_ANGULAR_LIMIT_UPPER:null = 11
Constant for accessing [member angular_limit/upper_angle]. The upper limit of rotation in the slider.


PARAM_ANGULAR_LIMIT_LOWER:null = 12
Constant for accessing [member angular_limit/lower_angle]. The lower limit of rotation in the slider.


PARAM_ANGULAR_LIMIT_SOFTNESS:null = 13
Constant for accessing [member angular_limit/softness]. A factor applied to the all rotation once the limit is surpassed.


PARAM_ANGULAR_LIMIT_RESTITUTION:null = 14
Constant for accessing [member angular_limit/restitution]. The amount of restitution of the rotation when the limit is surpassed.


PARAM_ANGULAR_LIMIT_DAMPING:null = 15
Constant for accessing [member angular_limit/damping]. The amount of damping of the rotation when the limit is surpassed.


PARAM_ANGULAR_MOTION_SOFTNESS:null = 16
Constant for accessing [member angular_motion/softness]. A factor applied to the all rotation in the limits.


PARAM_ANGULAR_MOTION_RESTITUTION:null = 17
Constant for accessing [member angular_motion/restitution]. The amount of restitution of the rotation in the limits.


PARAM_ANGULAR_MOTION_DAMPING:null = 18
Constant for accessing [member angular_motion/damping]. The amount of damping of the rotation in the limits.


PARAM_ANGULAR_ORTHOGONAL_SOFTNESS:null = 19
Constant for accessing [member angular_ortho/softness]. A factor applied to the all rotation across axes orthogonal to the slider.


PARAM_ANGULAR_ORTHOGONAL_RESTITUTION:null = 20
Constant for accessing [member angular_ortho/restitution]. The amount of restitution of the rotation across axes orthogonal to the slider.


PARAM_ANGULAR_ORTHOGONAL_DAMPING:null = 21
Constant for accessing [member angular_ortho/damping]. The amount of damping of the rotation across axes orthogonal to the slider.


PARAM_MAX:null = 22
Represents the size of the Param enum.
set get float angular_limit/damping<>():float set get
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.
set get float angular_limit/lower_angle<>():float set get
The lower limit of rotation in the slider.

set get float angular_limit/restitution<>():float set get
The amount of restitution of the rotation when the limit is surpassed.

Does not affect damping.
set get float angular_limit/softness<>():float set get
A factor applied to the all rotation once the limit is surpassed.

Makes all rotation slower when between 0 and 1.
set get float angular_limit/upper_angle<>():float set get
The upper limit of rotation in the slider.

set get float angular_motion/damping<>():float set get
The amount of damping of the rotation in the limits.

set get float angular_motion/restitution<>():float set get
The amount of restitution of the rotation in the limits.

set get float angular_motion/softness<>():float set get
A factor applied to the all rotation in the limits.

set get float angular_ortho/damping<>():float set get
The amount of damping of the rotation across axes orthogonal to the slider.

set get float angular_ortho/restitution<>():float set get
The amount of restitution of the rotation across axes orthogonal to the slider.

set get float angular_ortho/softness<>():float set get
A factor applied to the all rotation across axes orthogonal to the slider.

set get float linear_limit/damping<>():float set get
The amount of damping that happens once the limit defined by [member linear_limit/lower_distance] and [member linear_limit/upper_distance] is surpassed.

set get float linear_limit/lower_distance<>():float set get
The minimum difference between the pivot points on their X axis before damping happens.

set get float linear_limit/restitution<>():float set get
The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.

set get float linear_limit/softness<>():float set get
A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.

set get float linear_limit/upper_distance<>():float set get
The maximum difference between the pivot points on their X axis before damping happens.

set get float linear_motion/damping<>():float set get
The amount of damping inside the slider limits.

set get float linear_motion/restitution<>():float set get
The amount of restitution inside the slider limits.

set get float linear_motion/softness<>():float set get
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.

set get float linear_ortho/damping<>():float set get
The amount of damping when movement is across axes orthogonal to the slider.

set get float linear_ortho/restitution<>():float set get
The amount of restitution when movement is across axes orthogonal to the slider.

set get float linear_ortho/softness<>():float set get
A factor applied to the movement across axes orthogonal to the slider.

float get_param<>( int param=, param:int=, ):float
Returns the value of the given parameter.

void set_param<>( int param=, param:int=, float value=, value:float=, ):void
Assigns value to the given parameter.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...