Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
HingeJoint3D¶
Inherits: Joint3D < Node3D < Node < Object
A physics joint that restricts the rotation of a 3D physics body around an axis relative to another physics body.
Description¶
A physics joint that restricts the rotation of a 3D physics body around an axis relative to another physics body. For example, Body A can be a StaticBody3D representing a door hinge that a RigidBody3D rotates around.
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
void |
|
void |
Enumerations¶
enum Param:
Param PARAM_BIAS = 0
The speed with which the two bodies get pulled together when they move in different directions.
Param PARAM_LIMIT_UPPER = 1
The maximum rotation. Only active if angular_limit/enable is true
.
Param PARAM_LIMIT_LOWER = 2
The minimum rotation. Only active if angular_limit/enable is true
.
Param PARAM_LIMIT_BIAS = 3
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
Param PARAM_LIMIT_SOFTNESS = 4
Param PARAM_LIMIT_RELAXATION = 5
The lower this value, the more the rotation gets slowed down.
Param PARAM_MOTOR_TARGET_VELOCITY = 6
Target speed for the motor.
Param PARAM_MOTOR_MAX_IMPULSE = 7
Maximum acceleration for the motor.
Param PARAM_MAX = 8
Represents t