PhysicalBone
void | ( Vector3 impulse ) |
void | ( Vector3 position, impulse ) |
int | ( ) const |
bool | ( ) |
bool | ( ) |
bool | ( ) |
enum JointType:
- JOINT_TYPE_NONE = 0
- JOINT_TYPE_PIN = 1
- JOINT_TYPE_HINGE = 3
- JOINT_TYPE_SLIDER = 4
- JOINT_TYPE_6DOF = 5
- Transform body_offset
Default | Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 ) |
Setter | set_body_offset(value) |
Getter | get_body_offset() |
- bounce
- float friction
Default | |
Setter | set_friction(value) |
Getter | get_friction() |
- gravity_scale
Default | 1.0 |
Setter | set_gravity_scale(value) |
Getter | get_gravity_scale() |
- JointType joint_type
Default | 0 |
Setter | set_joint_type(value) |
Getter | get_joint_type() |
- mass
Default | 1.0 |
Setter | set_mass(value) |
Getter | get_mass() |
- float weight
- void apply_central_impulse ( impulse )
- void apply_impulse ( Vector3 position, impulse )
- int get_bone_id ( ) const
- get_simulate_physics ( )
- bool is_static_body ( )