Returns the value of the specified flag.
Returns the value of the specified parameter.
If true, enables the specified flag.
Sets the value of the specified parameter.
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
If true, the hinges maximum and minimum rotation, defined by angularLimit/lower and angularLimit/upper has effects.
The minimum rotation. Only active if angularLimit/enable is true.
The lower this value, the more the rotation gets slowed down.
The maximum rotation. Only active if angularLimit/enable is true.
When activated, a motor turns the hinge.
Maximum acceleration for the motor.
Target speed for the motor.
The speed with which the two bodies get pulled together when they move in different directions.
Construct a new instance of HingeJoint. Note: use memnew!HingeJoint instead.
A hinge between two 3D PhysicsBodies.
A HingeJoint normally uses the Z axis of body A as the hinge axis, another axis can be specified when adding it manually though. See also Generic6DOFJoint.