SliderJoint

Slider between two PhysicsBodies in 3D.

Slides across the X axis of the pivot object. See also Generic6DOFJoint.

@GodotBaseClass
struct SliderJoint {}

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Enums

Constants
enum Constants
Param
enum Param

Functions

_getLowerLimitAngular
double _getLowerLimitAngular()
_getUpperLimitAngular
double _getUpperLimitAngular()
_setLowerLimitAngular
void _setLowerLimitAngular(double lower_limit_angular)
_setUpperLimitAngular
void _setUpperLimitAngular(double upper_limit_angular)
getParam
double getParam(long param)
opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(SliderJoint other)
opEquals
bool opEquals(typeof(null) n)
setParam
void setParam(long param, double value)
toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

angularLimitDamping
double angularLimitDamping [@property getter]
double angularLimitDamping [@property setter]

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.

angularLimitLowerAngle
double angularLimitLowerAngle [@property getter]
double angularLimitLowerAngle [@property setter]

The lower limit of rotation in the slider.

angularLimitRestitution
double angularLimitRestitution [@property getter]
double angularLimitRestitution [@property setter]

The amount of restitution of the rotation when the limit is surpassed. Does not affect damping.

angularLimitSoftness
double angularLimitSoftness [@property getter]
double angularLimitSoftness [@property setter]

A factor applied to the all rotation once the limit is surpassed. Makes all rotation slower when between 0 and 1.

angularLimitUpperAngle
double angularLimitUpperAngle [@property getter]
double angularLimitUpperAngle [@property setter]

The upper limit of rotation in the slider.

angularMotionDamping
double angularMotionDamping [@property getter]
double angularMotionDamping [@property setter]

The amount of damping of the rotation in the limits.

angularMotionRestitution
double angularMotionRestitution [@property getter]
double angularMotionRestitution [@property setter]

The amount of restitution of the rotation in the limits.

angularMotionSoftness
double angularMotionSoftness [@property getter]
double angularMotionSoftness [@property setter]

A factor applied to the all rotation in the limits.

angularOrthoDamping
double angularOrthoDamping [@property getter]
double angularOrthoDamping [@property setter]

The amount of damping of the rotation across axes orthogonal to the slider.

angularOrthoRestitution
double angularOrthoRestitution [@property getter]
double angularOrthoRestitution [@property setter]

The amount of restitution of the rotation across axes orthogonal to the slider.

angularOrthoSoftness
double angularOrthoSoftness [@property getter]
double angularOrthoSoftness [@property setter]

A factor applied to the all rotation across axes orthogonal to the slider.

linearLimitDamping
double linearLimitDamping [@property getter]
double linearLimitDamping [@property setter]

The amount of damping that happens once the limit defined by linearLimit/lowerDistance and linearLimit/upperDistance is surpassed.

linearLimitLowerDistance
double linearLimitLowerDistance [@property getter]
double linearLimitLowerDistance [@property setter]

The minimum difference between the pivot points on their X axis before damping happens.

linearLimitRestitution
double linearLimitRestitution [@property getter]
double linearLimitRestitution [@property setter]

The amount of restitution once the limits are surpassed. The lower, the more velocity-energy gets lost.

linearLimitSoftness
double linearLimitSoftness [@property getter]
double linearLimitSoftness [@property setter]

A factor applied to the movement across the slider axis once the limits get surpassed. The lower, the slower the movement.

linearLimitUpperDistance
double linearLimitUpperDistance [@property getter]
double linearLimitUpperDistance [@property setter]

The maximum difference between the pivot points on their X axis before damping happens.

linearMotionDamping
double linearMotionDamping [@property getter]
double linearMotionDamping [@property setter]

The amount of damping inside the slider limits.

linearMotionRestitution
double linearMotionRestitution [@property getter]
double linearMotionRestitution [@property setter]

The amount of restitution inside the slider limits.

linearMotionSoftness
double linearMotionSoftness [@property getter]
double linearMotionSoftness [@property setter]

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.

linearOrthoDamping
double linearOrthoDamping [@property getter]
double linearOrthoDamping [@property setter]

The amount of damping when movement is across axes orthogonal to the slider.

linearOrthoRestitution
double linearOrthoRestitution [@property getter]
double linearOrthoRestitution [@property setter]

The amount of restitution when movement is across axes orthogonal to the slider.

linearOrthoSoftness
double linearOrthoSoftness [@property getter]
double linearOrthoSoftness [@property setter]

A factor applied to the movement across axes orthogonal to the slider.

Static functions

_new
SliderJoint _new()

Construct a new instance of SliderJoint. Note: use memnew!SliderJoint instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta