PhysicalBone¶
Inherits: PhysicsBody < CollisionObject < Spatial < Node < Object
Propiedades¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Métodos¶
void |
apply_central_impulse ( Vector3 impulse ) |
void |
apply_impulse ( Vector3 position, Vector3 impulse ) |
get_bone_id ( ) const |
|
is_static_body ( ) |
Enumeraciones¶
enum JointType:
JOINT_TYPE_NONE = 0
JOINT_TYPE_PIN = 1
JOINT_TYPE_CONE = 2
JOINT_TYPE_HINGE = 3
JOINT_TYPE_SLIDER = 4
JOINT_TYPE_6DOF = 5
Descripciones de Propiedades¶
Transform body_offset
Default |
|
Setter |
set_body_offset(value) |
Getter |
get_body_offset() |
float bounce
Default |
|
Setter |
set_bounce(value) |
Getter |
get_bounce() |
float friction
Default |
|
Setter |
set_friction(value) |
Getter |
get_friction() |
float gravity_scale
Default |
|
Setter |
set_gravity_scale(value) |
Getter |
get_gravity_scale() |
Transform joint_offset
Default |
|
Setter |
set_joint_offset(value) |
Getter |
get_joint_offset() |
JointType joint_type
Default |
|
Setter |
set_joint_type(value) |
Getter |
get_joint_type() |
float mass
Default |
|
Setter |
set_mass(value) |
Getter |
get_mass() |
float weight
Default |
|
Setter |
set_weight(value) |
Getter |
get_weight() |
Descripciones de Métodos¶
void apply_central_impulse ( Vector3 impulse )
int get_bone_id ( ) const
bool get_simulate_physics ( )
bool is_simulating_physics ( )
bool is_static_body ( )