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.
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.
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
void | |
void |
0
The speed with which the two bodies get pulled together when they move in different directions.
1
The maximum rotation. Only active if angular_limit/enable is true.
2
The minimum rotation. Only active if angular_limit/enable is true.
3
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
4
5
The lower this value, the more the rotation gets slowed down.
6
Target speed for the motor.
7
Maximum acceleration for the motor.
8
Represents the size of the Param enum.
0
If true, the hinges maximum and minimum rotation, defined by angular_limit/lower and angular_limit/upper has effects.
1
When activated, a motor turns the hinge.
2
Represents the size of the Flag enum.
0.3
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
false
If true, the hinges maximum and minimum rotation, defined by angular_limit/lower and angular_limit/upper has effects.
-1.5708
The minimum rotation. Only active if angular_limit/enable is true.
1.0
The lower this value, the more the rotation gets slowed down.
0.9
There is currently no description for this property. Please help us by contributing one!
1.5708
The maximum rotation. Only active if angular_limit/enable is true.
false
When activated, a motor turns the hinge.
1.0
Maximum acceleration for the motor.
1.0
Target speed for the motor.
0.3
The speed with which the two bodies get pulled together when they move in different directions.
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.
© 2014–present Juan Linietsky, Ariel Manzur and the Godot community
Licensed under the Creative Commons Attribution Unported License v3.0.
https://docs.godotengine.org/en/4.2/classes/class_hingejoint3d.html