Generic6DOFJoint

The generic 6 degrees of freedom joint can implement a variety of joint-types by locking certain axes' rotation or translation.

The first 3 DOF axes are linear axes, which represent translation of Bodies, and the latter 3 DOF axes represent the angular motion. Each axis can be either locked, or limited.

@GodotBaseClass
struct Generic6DOFJoint {}

Members

Aliases

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

Enums

Constants
enum Constants
Flag
enum Flag
Param
enum Param

Functions

_getAngularHiLimitX
double _getAngularHiLimitX()
_getAngularHiLimitY
double _getAngularHiLimitY()
_getAngularHiLimitZ
double _getAngularHiLimitZ()
_getAngularLoLimitX
double _getAngularLoLimitX()
_getAngularLoLimitY
double _getAngularLoLimitY()
_getAngularLoLimitZ
double _getAngularLoLimitZ()
_setAngularHiLimitX
void _setAngularHiLimitX(double angle)
_setAngularHiLimitY
void _setAngularHiLimitY(double angle)
_setAngularHiLimitZ
void _setAngularHiLimitZ(double angle)
_setAngularLoLimitX
void _setAngularLoLimitX(double angle)
_setAngularLoLimitY
void _setAngularLoLimitY(double angle)
_setAngularLoLimitZ
void _setAngularLoLimitZ(double angle)
getFlagX
bool getFlagX(long flag)
getFlagY
bool getFlagY(long flag)
getFlagZ
bool getFlagZ(long flag)
getParamX
double getParamX(long param)
getParamY
double getParamY(long param)
getParamZ
double getParamZ(long param)
opAssign
Generic6DOFJoint opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Generic6DOFJoint other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
setFlagX
void setFlagX(long flag, bool value)
setFlagY
void setFlagY(long flag, bool value)
setFlagZ
void setFlagZ(long flag, bool value)
setParamX
void setParamX(long param, double value)
setParamY
void setParamY(long param, double value)
setParamZ
void setParamZ(long param, double value)

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Properties

angularLimitXDamping
double angularLimitXDamping [@property getter]
double angularLimitXDamping [@property setter]

The amount of rotational damping across the x-axis. The lower, the longer an impulse from one side takes to travel to the other side.

angularLimitXEnabled
bool angularLimitXEnabled [@property getter]
bool angularLimitXEnabled [@property setter]

If true rotation across the x-axis is limited.

angularLimitXErp
double angularLimitXErp [@property getter]
double angularLimitXErp [@property setter]

When rotating across x-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.

angularLimitXForceLimit
double angularLimitXForceLimit [@property getter]
double angularLimitXForceLimit [@property setter]

The maximum amount of force that can occur, when rotating around x-axis.

angularLimitXLowerAngle
double angularLimitXLowerAngle [@property getter]
double angularLimitXLowerAngle [@property setter]

The minimum rotation in negative direction to break loose and rotate around the x-axis.

angularLimitXRestitution
double angularLimitXRestitution [@property getter]
double angularLimitXRestitution [@property setter]

The amount of rotational restitution across the x-axis. The lower, the more restitution occurs.

angularLimitXSoftness
double angularLimitXSoftness [@property getter]
double angularLimitXSoftness [@property setter]

The speed of all rotations across the x-axis.

angularLimitXUpperAngle
double angularLimitXUpperAngle [@property getter]
double angularLimitXUpperAngle [@property setter]

The minimum rotation in positive direction to break loose and rotate around the x-axis.

angularLimitYDamping
double angularLimitYDamping [@property getter]
double angularLimitYDamping [@property setter]

The amount of rotational damping across the y-axis. The lower, the more dampening occurs.

angularLimitYEnabled
bool angularLimitYEnabled [@property getter]
bool angularLimitYEnabled [@property setter]

If true rotation across the y-axis is limited.

angularLimitYErp
double angularLimitYErp [@property getter]
double angularLimitYErp [@property setter]

When rotating across y-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.

angularLimitYForceLimit
double angularLimitYForceLimit [@property getter]
double angularLimitYForceLimit [@property setter]

The maximum amount of force that can occur, when rotating around y-axis.

angularLimitYLowerAngle
double angularLimitYLowerAngle [@property getter]
double angularLimitYLowerAngle [@property setter]

The minimum rotation in negative direction to break loose and rotate around the y-axis.

angularLimitYRestitution
double angularLimitYRestitution [@property getter]
double angularLimitYRestitution [@property setter]

The amount of rotational restitution across the y-axis. The lower, the more restitution occurs.

angularLimitYSoftness
double angularLimitYSoftness [@property getter]
double angularLimitYSoftness [@property setter]

The speed of all rotations across the y-axis.

angularLimitYUpperAngle
double angularLimitYUpperAngle [@property getter]
double angularLimitYUpperAngle [@property setter]

The minimum rotation in positive direction to break loose and rotate around the y-axis.

angularLimitZDamping
double angularLimitZDamping [@property setter]

The amount of rotational damping across the z-axis. The lower, the more dampening occurs.

angularLimitZDamping
double angularLimitZDamping [@property getter]

The amount of rotational damping across the z-axis. The lower, the more dampening occurs.

angularLimitZEnabled
bool angularLimitZEnabled [@property setter]

If true rotation across the z-axis is limited.

angularLimitZEnabled
bool angularLimitZEnabled [@property getter]

If true rotation across the z-axis is limited.

angularLimitZErp
double angularLimitZErp [@property setter]

When rotating across z-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.

angularLimitZErp
double angularLimitZErp [@property getter]

When rotating across z-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.

angularLimitZForceLimit
double angularLimitZForceLimit [@property setter]

The maximum amount of force that can occur, when rotating around z-axis.

angularLimitZForceLimit
double angularLimitZForceLimit [@property getter]

The maximum amount of force that can occur, when rotating around z-axis.

angularLimitZLowerAngle
double angularLimitZLowerAngle [@property setter]

The minimum rotation in negative direction to break loose and rotate around the z-axis.

angularLimitZLowerAngle
double angularLimitZLowerAngle [@property getter]

The minimum rotation in negative direction to break loose and rotate around the z-axis.

angularLimitZRestitution
double angularLimitZRestitution [@property setter]

The amount of rotational restitution across the z-axis. The lower, the more restitution occurs.

angularLimitZRestitution
double angularLimitZRestitution [@property getter]

The amount of rotational restitution across the z-axis. The lower, the more restitution occurs.

angularLimitZSoftness
double angularLimitZSoftness [@property setter]

The speed of all rotations across the z-axis.

angularLimitZSoftness
double angularLimitZSoftness [@property getter]

The speed of all rotations across the z-axis.

angularLimitZUpperAngle
double angularLimitZUpperAngle [@property setter]

The minimum rotation in positive direction to break loose and rotate around the z-axis.

angularLimitZUpperAngle
double angularLimitZUpperAngle [@property getter]

The minimum rotation in positive direction to break loose and rotate around the z-axis.

angularMotorXEnabled
bool angularMotorXEnabled [@property getter]
bool angularMotorXEnabled [@property setter]

If true a rotating motor at the x-axis is enabled.

angularMotorXForceLimit
double angularMotorXForceLimit [@property getter]
double angularMotorXForceLimit [@property setter]

Maximum acceleration for the motor at the x-axis.

angularMotorXTargetVelocity
double angularMotorXTargetVelocity [@property getter]
double angularMotorXTargetVelocity [@property setter]

Target speed for the motor at the x-axis.

angularMotorYEnabled
bool angularMotorYEnabled [@property setter]

If true a rotating motor at the y-axis is enabled.

angularMotorYEnabled
bool angularMotorYEnabled [@property getter]

If true a rotating motor at the y-axis is enabled.

angularMotorYForceLimit
double angularMotorYForceLimit [@property setter]

Maximum acceleration for the motor at the y-axis.

angularMotorYForceLimit
double angularMotorYForceLimit [@property getter]

Maximum acceleration for the motor at the y-axis.

angularMotorYTargetVelocity
double angularMotorYTargetVelocity [@property setter]

Target speed for the motor at the y-axis.

angularMotorYTargetVelocity
double angularMotorYTargetVelocity [@property getter]

Target speed for the motor at the y-axis.

angularMotorZEnabled
bool angularMotorZEnabled [@property setter]

If true a rotating motor at the z-axis is enabled.

angularMotorZEnabled
bool angularMotorZEnabled [@property getter]

If true a rotating motor at the z-axis is enabled.

angularMotorZForceLimit
double angularMotorZForceLimit [@property setter]

Maximum acceleration for the motor at the z-axis.

angularMotorZForceLimit
double angularMotorZForceLimit [@property getter]

Maximum acceleration for the motor at the z-axis.

angularMotorZTargetVelocity
double angularMotorZTargetVelocity [@property setter]

Target speed for the motor at the z-axis.

angularMotorZTargetVelocity
double angularMotorZTargetVelocity [@property getter]

Target speed for the motor at the z-axis.

linearLimitXDamping
double linearLimitXDamping [@property getter]
double linearLimitXDamping [@property setter]

The amount of damping that happens at the x-motion.

linearLimitXEnabled
bool linearLimitXEnabled [@property getter]
bool linearLimitXEnabled [@property setter]

If true the linear motion across the x-axis is limited.

linearLimitXLowerDistance
double linearLimitXLowerDistance [@property getter]
double linearLimitXLowerDistance [@property setter]

The minimum difference between the pivot points' x-axis.

linearLimitXRestitution
double linearLimitXRestitution [@property getter]
double linearLimitXRestitution [@property setter]

The amount of restitution on the x-axis movement The lower, the more momentum gets lost.

linearLimitXSoftness
double linearLimitXSoftness [@property getter]
double linearLimitXSoftness [@property setter]

A factor applied to the movement across the x-axis The lower, the slower the movement.

linearLimitXUpperDistance
double linearLimitXUpperDistance [@property getter]
double linearLimitXUpperDistance [@property setter]

The maximum difference between the pivot points' x-axis.

linearLimitYDamping
double linearLimitYDamping [@property getter]
double linearLimitYDamping [@property setter]

The amount of damping that happens at the y-motion.

linearLimitYEnabled
bool linearLimitYEnabled [@property setter]

If true the linear motion across the y-axis is limited.

linearLimitYEnabled
bool linearLimitYEnabled [@property getter]

If true the linear motion across the y-axis is limited.

linearLimitYLowerDistance
double linearLimitYLowerDistance [@property setter]

The minimum difference between the pivot points' y-axis.

linearLimitYLowerDistance
double linearLimitYLowerDistance [@property getter]

The minimum difference between the pivot points' y-axis.

linearLimitYRestitution
double linearLimitYRestitution [@property setter]

The amount of restitution on the y-axis movement The lower, the more momentum gets lost.

linearLimitYRestitution
double linearLimitYRestitution [@property getter]

The amount of restitution on the y-axis movement The lower, the more momentum gets lost.

linearLimitYSoftness
double linearLimitYSoftness [@property setter]

A factor applied to the movement across the y-axis The lower, the slower the movement.

linearLimitYSoftness
double linearLimitYSoftness [@property getter]

A factor applied to the movement across the y-axis The lower, the slower the movement.

linearLimitYUpperDistance
double linearLimitYUpperDistance [@property setter]

The maximum difference between the pivot points' y-axis.

linearLimitYUpperDistance
double linearLimitYUpperDistance [@property getter]

The maximum difference between the pivot points' y-axis.

linearLimitZDamping
double linearLimitZDamping [@property getter]
double linearLimitZDamping [@property setter]

The amount of damping that happens at the z-motion.

linearLimitZEnabled
bool linearLimitZEnabled [@property getter]
bool linearLimitZEnabled [@property setter]

If true the linear motion across the z-axis is limited.

linearLimitZLowerDistance
double linearLimitZLowerDistance [@property getter]
double linearLimitZLowerDistance [@property setter]

The minimum difference between the pivot points' z-axis.

linearLimitZRestitution
double linearLimitZRestitution [@property getter]
double linearLimitZRestitution [@property setter]

The amount of restitution on the z-axis movement The lower, the more momentum gets lost.

linearLimitZSoftness
double linearLimitZSoftness [@property getter]
double linearLimitZSoftness [@property setter]

A factor applied to the movement across the z-axis The lower, the slower the movement.

linearLimitZUpperDistance
double linearLimitZUpperDistance [@property getter]
double linearLimitZUpperDistance [@property setter]

The maximum difference between the pivot points' z-axis.

linearMotorXEnabled
bool linearMotorXEnabled [@property setter]

If true then there is a linear motor on the x-axis. It will attempt to reach the target velocity while staying within the force limits.

linearMotorXEnabled
bool linearMotorXEnabled [@property getter]

If true then there is a linear motor on the x-axis. It will attempt to reach the target velocity while staying within the force limits.

linearMotorXForceLimit
double linearMotorXForceLimit [@property setter]

The maximum force the linear motor can apply on the x-axis while trying to reach the target velocity.

linearMotorXForceLimit
double linearMotorXForceLimit [@property getter]

The maximum force the linear motor can apply on the x-axis while trying to reach the target velocity.

linearMotorXTargetVelocity
double linearMotorXTargetVelocity [@property setter]

The speed that the linear motor will attempt to reach on the x-axis.

linearMotorXTargetVelocity
double linearMotorXTargetVelocity [@property getter]

The speed that the linear motor will attempt to reach on the x-axis.

linearMotorYEnabled
bool linearMotorYEnabled [@property setter]

If true then there is a linear motor on the y-axis. It will attempt to reach the target velocity while staying within the force limits.

linearMotorYEnabled
bool linearMotorYEnabled [@property getter]

If true then there is a linear motor on the y-axis. It will attempt to reach the target velocity while staying within the force limits.

linearMotorYForceLimit
double linearMotorYForceLimit [@property getter]
double linearMotorYForceLimit [@property setter]

The maximum force the linear motor can apply on the y-axis while trying to reach the target velocity.

linearMotorYTargetVelocity
double linearMotorYTargetVelocity [@property setter]

The speed that the linear motor will attempt to reach on the y-axis.

linearMotorYTargetVelocity
double linearMotorYTargetVelocity [@property getter]

The speed that the linear motor will attempt to reach on the y-axis.

linearMotorZEnabled
bool linearMotorZEnabled [@property getter]
bool linearMotorZEnabled [@property setter]

If true then there is a linear motor on the z-axis. It will attempt to reach the target velocity while staying within the force limits.

linearMotorZForceLimit
double linearMotorZForceLimit [@property getter]
double linearMotorZForceLimit [@property setter]

The maximum force the linear motor can apply on the z-axis while trying to reach the target velocity.

linearMotorZTargetVelocity
double linearMotorZTargetVelocity [@property getter]
double linearMotorZTargetVelocity [@property setter]

The speed that the linear motor will attempt to reach on the z-axis.

Static functions

_new
Generic6DOFJoint _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
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
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
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