Inherits: Joint3D < Node3D < Node < Object
A physics joint that allows for complex movement and rotation between two 3D physics bodies.
The Generic6DOFJoint3D (6 Degrees Of Freedom) joint allows for implementing custom types of joints by locking the rotation and translation of certain axes.
The first 3 DOF represent the linear motion of the physics bodies and the last 3 DOF represent the angular motion of the physics bodies. Each axis can be either locked, or limited.
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
get_flag_x ( Flag flag ) const | |
get_flag_y ( Flag flag ) const | |
get_flag_z ( Flag flag ) const | |
get_param_x ( Param param ) const | |
get_param_y ( Param param ) const | |
get_param_z ( Param param ) const | |
void | set_flag_x ( Flag flag, bool value ) |
void | set_flag_y ( Flag flag, bool value ) |
void | set_flag_z ( Flag flag, bool value ) |
void | set_param_x ( Param param, float value ) |
void | set_param_y ( Param param, float value ) |
void | set_param_z ( Param param, float value ) |
0
The minimum difference between the pivot points' axes.
1
The maximum difference between the pivot points' axes.
2
A factor applied to the movement across the axes. The lower, the slower the movement.
3
The amount of restitution on the axes' movement. The lower, the more momentum gets lost.
4
The amount of damping that happens at the linear motion across the axes.
5
The velocity the linear motor will try to reach.
6
The maximum force the linear motor will apply while trying to reach the velocity target.
7
8
9
10
The minimum rotation in negative direction to break loose and rotate around the axes.
11
The minimum rotation in positive direction to break loose and rotate around the axes.
12
The speed of all rotations across the axes.
13
The amount of rotational damping across the axes. The lower, the more damping occurs.
14
The amount of rotational restitution across the axes. The lower, the more restitution occurs.
15
The maximum amount of force that can occur, when rotating around the axes.
16
When rotating across the axes, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
17
Target speed for the motor at the axes.
18
Maximum acceleration for the motor at the axes.
19
20
21
22
Represents the size of the Param enum.
0
If enabled, linear motion is possible within the given limits.
1
If enabled, rotational motion is possible within the given limits.
3
2
4
If enabled, there is a rotational motor across these axes.
5
If enabled, there is a linear motor across these axes.
6
Represents the size of the Flag enum.
1.0
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.
true
If true, rotation across the X axis is limited.
0.5
When rotating across the X axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
0.0
The maximum amount of force that can occur, when rotating around the X axis.
0.0
The minimum rotation in negative direction to break loose and rotate around the X axis.
0.0
The amount of rotational restitution across the X axis. The lower, the more restitution occurs.
0.5
The speed of all rotations across the X axis.
0.0
The minimum rotation in positive direction to break loose and rotate around the X axis.
1.0
The amount of rotational damping across the Y axis. The lower, the more damping occurs.
true
If true, rotation across the Y axis is limited.
0.5
When rotating across the Y axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
0.0
The maximum amount of force that can occur, when rotating around the Y axis.
0.0
The minimum rotation in negative direction to break loose and rotate around the Y axis.
0.0
The amount of rotational restitution across the Y axis. The lower, the more restitution occurs.
0.5
The speed of all rotations across the Y axis.
0.0
The minimum rotation in positive direction to break loose and rotate around the Y axis.
1.0
The amount of rotational damping across the Z axis. The lower, the more damping occurs.
true
If true, rotation across the Z axis is limited.
0.5
When rotating across the Z axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
0.0
The maximum amount of force that can occur, when rotating around the Z axis.
0.0
The minimum rotation in negative direction to break loose and rotate around the Z axis.
0.0
The amount of rotational restitution across the Z axis. The lower, the more restitution occurs.
0.5
The speed of all rotations across the Z axis.
0.0
The minimum rotation in positive direction to break loose and rotate around the Z axis.
false
If true, a rotating motor at the X axis is enabled.
300.0
Maximum acceleration for the motor at the X axis.
0.0
Target speed for the motor at the X axis.
false
If true, a rotating motor at the Y axis is enabled.
300.0
Maximum acceleration for the motor at the Y axis.
0.0
Target speed for the motor at the Y axis.
false
If true, a rotating motor at the Z axis is enabled.
300.0
Maximum acceleration for the motor at the Z axis.
0.0
Target speed for the motor at the Z axis.
0.0
There is currently no description for this property. Please help us by contributing one!
false
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
false
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
false
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
1.0
The amount of damping that happens at the X motion.
true
If true, the linear motion across the X axis is limited.
0.0
The minimum difference between the pivot points' X axis.
0.5
The amount of restitution on the X axis movement. The lower, the more momentum gets lost.
0.7
A factor applied to the movement across the X axis. The lower, the slower the movement.
0.0
The maximum difference between the pivot points' X axis.
1.0
The amount of damping that happens at the Y motion.
true
If true, the linear motion across the Y axis is limited.
0.0
The minimum difference between the pivot points' Y axis.
0.5
The amount of restitution on the Y axis movement. The lower, the more momentum gets lost.
0.7
A factor applied to the movement across the Y axis. The lower, the slower the movement.
0.0
The maximum difference between the pivot points' Y axis.
1.0
The amount of damping that happens at the Z motion.
true
If true, the linear motion across the Z axis is limited.
0.0
The minimum difference between the pivot points' Z axis.
0.5
The amount of restitution on the Z axis movement. The lower, the more momentum gets lost.
0.7
A factor applied to the movement across the Z axis. The lower, the slower the movement.
0.0
The maximum difference between the pivot points' Z axis.
false
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.
0.0
The maximum force the linear motor can apply on the X axis while trying to reach the target velocity.
0.0
The speed that the linear motor will attempt to reach on the X axis.
false
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.
0.0
The maximum force the linear motor can apply on the Y axis while trying to reach the target velocity.
0.0
The speed that the linear motor will attempt to reach on the Y axis.
false
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.
0.0
The maximum force the linear motor can apply on the Z axis while trying to reach the target velocity.
0.0
The speed that the linear motor will attempt to reach on the Z axis.
0.01
There is currently no description for this property. Please help us by contributing one!
false
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.01
There is currently no description for this property. Please help us by contributing one!
0.01
There is currently no description for this property. Please help us by contributing one!
false
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.01
There is currently no description for this property. Please help us by contributing one!
0.01
There is currently no description for this property. Please help us by contributing one!
false
There is currently no description for this property. Please help us by contributing one!
0.0
There is currently no description for this property. Please help us by contributing one!
0.01
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
© 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_generic6dofjoint3d.html