Generic6DOFJoint3D
Hereda: Joint3D < Node3D < Node < Object
Una articulación física que permite un movimiento y rotación complejos entre dos cuerpos físicos 3D.
Descripción
La articulación Generic6DOFJoint3D (6 grados de libertad) permite implementar tipos de articulaciones personalizados bloqueando la rotación y traslación de ciertos ejes.
Los primeros 3 grados de libertad representan el movimiento lineal de los cuerpos físicos y los últimos 3 grados de libertad representan el movimiento angular de los cuerpos físicos. Cada eje puede estar bloqueado o limitado.
Propiedades
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Métodos
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, value: bool) |
void |
set_flag_y(flag: Flag, value: bool) |
void |
set_flag_z(flag: Flag, value: bool) |
void |
set_param_x(param: Param, value: float) |
void |
set_param_y(param: Param, value: float) |
void |
set_param_z(param: Param, value: float) |
Enumeraciones
enum Param: 🔗
Param PARAM_LINEAR_LOWER_LIMIT = 0
La diferencia mínima entre los puntos de pivote de sus ejes.
Param PARAM_LINEAR_UPPER_LIMIT = 1
La diferencia máxima entre los puntos de pivote de sus ejes.
Param PARAM_LINEAR_LIMIT_SOFTNESS = 2
Un factor aplicado al movimiento a través de los ejes. Cuanto más bajo, más lento es el movimiento.
Param PARAM_LINEAR_RESTITUTION = 3
La cantidad de restitución en el movimiento de los ejes. Cuanto más bajo, más impulso se pierde.
Param PARAM_LINEAR_DAMPING = 4
La cantidad de amortiguación que ocurre en el movimiento lineal a través de los ejes.
Param PARAM_LINEAR_MOTOR_TARGET_VELOCITY = 5
La velocidad que el motor lineal intentará alcanzar.
Param PARAM_LINEAR_MOTOR_FORCE_LIMIT = 6
La máxima fuerza que el motor lineal aplicará al intentar alcanzar el objetivo de velocidad.
Param PARAM_LINEAR_SPRING_STIFFNESS = 7
There is currently no description for this enum. Please help us by contributing one!
Param PARAM_LINEAR_SPRING_DAMPING = 8
There is currently no description for this enum. Please help us by contributing one!
Param PARAM_LINEAR_SPRING_EQUILIBRIUM_POINT = 9
There is currently no description for this enum. Please help us by contributing one!
Param PARAM_ANGULAR_LOWER_LIMIT = 10
La rotación mínima en dirección negativa para soltarse y girar alrededor de los ejes.
Param PARAM_ANGULAR_UPPER_LIMIT = 11
La rotación mínima en dirección positiva para soltarse y girar alrededor de los ejes.
Param PARAM_ANGULAR_LIMIT_SOFTNESS = 12
La velocidad de todas las rotaciones a través de los ejes.
Param PARAM_ANGULAR_DAMPING = 13
La cantidad de amortiguación rotacional en los ejes. Cuanto menor sea, mayor será el amortiguación.
Param PARAM_ANGULAR_RESTITUTION = 14
La cantidad de amortiguación rotacional a través de los ejes. Cuanto más bajo, más amortiguación se produce.
Param PARAM_ANGULAR_FORCE_LIMIT = 15
La máxima cantidad de fuerza que puede ocurrir, al girar alrededor de los ejes.
Param PARAM_ANGULAR_ERP = 16
Al girar sobre los ejes, este factor de tolerancia al error define cuánto se ralentiza la corrección. Cuanto más bajo, más lento.
Param PARAM_ANGULAR_MOTOR_TARGET_VELOCITY = 17
La velocidad del objetivo para el motor en los ejes.
Param PARAM_ANGULAR_MOTOR_FORCE_LIMIT = 18
Aceleración máxima para el motor en los ejes.
Param PARAM_ANGULAR_SPRING_STIFFNESS = 19
There is currently no description for this enum. Please help us by contributing one!
Param PARAM_ANGULAR_SPRING_DAMPING = 20
There is currently no description for this enum. Please help us by contributing one!
Param PARAM_ANGULAR_SPRING_EQUILIBRIUM_POINT = 21
There is currently no description for this enum. Please help us by contributing one!
Param PARAM_MAX = 22
Representa el tamaño del enum Param.
enum Flag: 🔗
Flag FLAG_ENABLE_LINEAR_LIMIT = 0
Si se activa, el movimiento lineal es posible dentro de los límites dados.
Flag FLAG_ENABLE_ANGULAR_LIMIT = 1
Si está activado, el movimiento de rotación es posible dentro de los límites dados.
Flag FLAG_ENABLE_LINEAR_SPRING = 3
There is currently no description for this enum. Please help us by contributing one!
Flag FLAG_ENABLE_ANGULAR_SPRING = 2
There is currently no description for this enum. Please help us by contributing one!
Flag FLAG_ENABLE_MOTOR = 4
Si se activa, hay un motor de rotación a través de estos ejes.
Flag FLAG_ENABLE_LINEAR_MOTOR = 5
Si se activa, hay un motor lineal a través de estos ejes.
Flag FLAG_MAX = 6
Representa el tamaño del enum Flag.
Descripciones de Propiedades
float angular_limit_x/damping = 1.0 🔗
La cantidad de amortiguación rotacional a través del eje X.
Cuanto más bajo, más tiempo tarda un impulso de un lado en viajar al otro lado.
bool angular_limit_x/enabled = true 🔗
Si es true, la rotación a través del eje X es limitada.
float angular_limit_x/erp = 0.5 🔗
Al girar a través del eje X, este factor de tolerancia al error define cuánto se ralentiza la corrección. Cuanto más baja, más lenta.
float angular_limit_x/force_limit = 0.0 🔗
La máxima cantidad de fuerza que puede ocurrir, al girar alrededor del eje X.
float angular_limit_x/lower_angle = 0.0 🔗
La rotación mínima en dirección negativa para soltarse y girar alrededor del eje X.
float angular_limit_x/restitution = 0.0 🔗
La cantidad de restitución rotacional a través del eje X. Cuanto más bajo, más restitución se produce.
float angular_limit_x/softness = 0.5 🔗
La velocidad de todas las rotaciones a través del eje X.
float angular_limit_x/upper_angle = 0.0 🔗
La mínima rotación en dirección positiva para soltarse y girar alrededor del eje X.
float angular_limit_y/damping = 1.0 🔗
La cantidad de amortiguación rotacional a lo largo del eje Y. Cuanto menor sea, mayor amortiguación se produce.
bool angular_limit_y/enabled = true 🔗
Si es true, la rotación a través del eje Y está limitada.
float angular_limit_y/erp = 0.5 🔗
Al girar sobre el eje Y, este factor de tolerancia al error define cuánto se ralentiza la corrección. Cuanto más baja, más lenta.
float angular_limit_y/force_limit = 0.0 🔗
La máxima cantidad de fuerza que puede ocurrir, al girar alrededor del eje Y.
float angular_limit_y/lower_angle = 0.0 🔗
La mínima rotación en dirección negativa para soltarse y girar alrededor del eje Y.
float angular_limit_y/restitution = 0.0 🔗
La cantidad de restitución rotacional a través del eje Y. Cuanto más bajo, más restitución se produce.
float angular_limit_y/softness = 0.5 🔗
La velocidad de todas las rotaciones a través del eje Y.
float angular_limit_y/upper_angle = 0.0 🔗
La mínima rotación en dirección positiva para soltarse y girar alrededor del eje Y.
float angular_limit_z/damping = 1.0 🔗
La cantidad de amortiguación rotacional a lo largo del eje Z. Cuanto menor sea, mayor amortiguación se produce.
bool angular_limit_z/enabled = true 🔗
Si es true, la rotación a través del eje Z está limitada.
float angular_limit_z/erp = 0.5 🔗
Al girar a través del eje Z, este factor de tolerancia al error define cuánto se ralentiza la corrección. Cuanto más baja, más lenta.
float angular_limit_z/force_limit = 0.0 🔗
La máxima cantidad de fuerza que puede ocurrir, al girar alrededor del eje Z.
float angular_limit_z/lower_angle = 0.0 🔗
La rotación mínima en dirección negativa para soltarse y girar alrededor del eje Z.
float angular_limit_z/restitution = 0.0 🔗
La cantidad de restitución rotacional a través del eje Z. Cuanto más bajo, más restitución se produce.
float angular_limit_z/softness = 0.5 🔗
La velocidad de todas las rotaciones a través del eje Z.
float angular_limit_z/upper_angle = 0.0 🔗
La rotación mínima en dirección positiva para soltarse y girar alrededor del eje Z.
bool angular_motor_x/enabled = false 🔗
Si es true, se activa un motor rotativo en el eje X.
float angular_motor_x/force_limit = 300.0 🔗
Aceleración máxima para el motor en el eje X.
float angular_motor_x/target_velocity = 0.0 🔗
Velocidad objetivo para el motor en el eje X.
bool angular_motor_y/enabled = false 🔗
Si es true, se habilita un motor rotativo en el eje Y.
float angular_motor_y/force_limit = 300.0 🔗
Aceleración máxima para el motor en el eje Y.
float angular_motor_y/target_velocity = 0.0 🔗
Velocidad objetivo para el motor en el eje Y.
bool angular_motor_z/enabled = false 🔗
Si es true, se habilita un motor rotativo en el eje Z.
float angular_motor_z/force_limit = 300.0 🔗
Aceleración máxima para el motor en el eje Z.
float angular_motor_z/target_velocity = 0.0 🔗
La velocidad del objetivo para el motor en el eje Z.
float angular_spring_x/damping = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
bool angular_spring_x/enabled = false 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_x/equilibrium_point = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_x/stiffness = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_y/damping = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
bool angular_spring_y/enabled = false 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_y/equilibrium_point = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_y/stiffness = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_z/damping = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
bool angular_spring_z/enabled = false 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_z/equilibrium_point = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float angular_spring_z/stiffness = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_limit_x/damping = 1.0 🔗
La cantidad de amortiguación que ocurre en el movimiento X.
bool linear_limit_x/enabled = true 🔗
Si es true, el movimiento lineal a través del eje X está limitado.
float linear_limit_x/lower_distance = 0.0 🔗
La diferencia mínima entre los puntos de pivote del eje X.
float linear_limit_x/restitution = 0.5 🔗
La cantidad de restitución en el movimiento del eje X. Cuanto más bajo, más impulso se pierde.
float linear_limit_x/softness = 0.7 🔗
Un factor aplicado al movimiento a través del eje X. Cuanto más bajo, más lento es el movimiento.
float linear_limit_x/upper_distance = 0.0 🔗
La diferencia máxima entre los puntos de pivote del eje X.
float linear_limit_y/damping = 1.0 🔗
La cantidad de amortiguación que ocurre en el movimiento Y.
bool linear_limit_y/enabled = true 🔗
Si es true, el movimiento lineal a través del eje Y está limitado.
float linear_limit_y/lower_distance = 0.0 🔗
La diferencia mínima entre los puntos de pivote del eje Y.
float linear_limit_y/restitution = 0.5 🔗
La cantidad de restitución en el movimiento del eje Y. Cuanto más bajo, más impulso se pierde.
float linear_limit_y/softness = 0.7 🔗
Un factor aplicado al movimiento a través del eje Y. Cuanto más bajo, más lento es el movimiento.
float linear_limit_y/upper_distance = 0.0 🔗
La máxima diferencia entre los puntos de pivote del eje Y .
float linear_limit_z/damping = 1.0 🔗
La cantidad de amortiguación que ocurre en el movimiento Z.
bool linear_limit_z/enabled = true 🔗
Si es true, el movimiento lineal a través del eje Z está limitado.
float linear_limit_z/lower_distance = 0.0 🔗
La diferencia mínima entre los puntos de pivote del eje Z.
float linear_limit_z/restitution = 0.5 🔗
La cantidad de restitución en el movimiento del eje Z. Cuanto más bajo, más impulso se pierde.
float linear_limit_z/softness = 0.7 🔗
Un factor aplicado al movimiento a través del eje Z. Cuanto más bajo, más lento es el movimiento.
float linear_limit_z/upper_distance = 0.0 🔗
La máxima diferencia entre los puntos de pivote del eje Z .
bool linear_motor_x/enabled = false 🔗
Si es true, entonces hay un motor lineal en el eje X. Intentará alcanzar la velocidad objetivo mientras se mantiene dentro de los límites de la fuerza.
float linear_motor_x/force_limit = 0.0 🔗
La máxima fuerza que el motor lineal puede aplicar en el eje X mientras intenta alcanzar la velocidad objetivo.
float linear_motor_x/target_velocity = 0.0 🔗
La velocidad que el motor lineal intentará alcanzar en el eje X.
bool linear_motor_y/enabled = false 🔗
Si es true, entonces hay un motor lineal en el eje Y. Intentará alcanzar la velocidad objetivo mientras se mantiene dentro de los límites de la fuerza.
float linear_motor_y/force_limit = 0.0 🔗
La máxima fuerza que el motor lineal puede aplicar sobre el eje Y mientras intenta alcanzar la velocidad objetivo.
float linear_motor_y/target_velocity = 0.0 🔗
La velocidad que el motor lineal intentará alcanzar en el eje Y.
bool linear_motor_z/enabled = false 🔗
Si es true, entonces hay un motor lineal en el eje Z. Intentará alcanzar la velocidad objetivo mientras se mantiene dentro de los límites de la fuerza.
float linear_motor_z/force_limit = 0.0 🔗
La máxima fuerza que el motor lineal puede aplicar en el eje Z mientras intenta alcanzar la velocidad objetivo.
float linear_motor_z/target_velocity = 0.0 🔗
La velocidad que el motor lineal intentará alcanzar en el eje Z.
float linear_spring_x/damping = 0.01 🔗
There is currently no description for this property. Please help us by contributing one!
bool linear_spring_x/enabled = false 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_x/equilibrium_point = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_x/stiffness = 0.01 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_y/damping = 0.01 🔗
There is currently no description for this property. Please help us by contributing one!
bool linear_spring_y/enabled = false 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_y/equilibrium_point = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_y/stiffness = 0.01 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_z/damping = 0.01 🔗
There is currently no description for this property. Please help us by contributing one!
bool linear_spring_z/enabled = false 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_z/equilibrium_point = 0.0 🔗
There is currently no description for this property. Please help us by contributing one!
float linear_spring_z/stiffness = 0.01 🔗
There is currently no description for this property. Please help us by contributing one!
Descripciones de Métodos
bool get_flag_x(flag: Flag) const 🔗
There is currently no description for this method. Please help us by contributing one!
bool get_flag_y(flag: Flag) const 🔗
There is currently no description for this method. Please help us by contributing one!
bool get_flag_z(flag: Flag) const 🔗
There is currently no description for this method. Please help us by contributing one!
float get_param_x(param: Param) const 🔗
There is currently no description for this method. Please help us by contributing one!
float get_param_y(param: Param) const 🔗
There is currently no description for this method. Please help us by contributing one!
float get_param_z(param: Param) const 🔗
There is currently no description for this method. Please help us by contributing one!
void set_flag_x(flag: Flag, value: bool) 🔗
There is currently no description for this method. Please help us by contributing one!
void set_flag_y(flag: Flag, value: bool) 🔗
There is currently no description for this method. Please help us by contributing one!
void set_flag_z(flag: Flag, value: bool) 🔗
There is currently no description for this method. Please help us by contributing one!
void set_param_x(param: Param, value: float) 🔗
There is currently no description for this method. Please help us by contributing one!
void set_param_y(param: Param, value: float) 🔗
There is currently no description for this method. Please help us by contributing one!
void set_param_z(param: Param, value: float) 🔗
There is currently no description for this method. Please help us by contributing one!