PhysicalBone¶
Inherits: PhysicsBody < CollisionObject < Spatial < Node < Object
Description¶
Warning: With a non-uniform scale this node will probably not function as expected. Please make sure to keep its scale uniform (i.e. the same on all axes), and change the size(s) of its collision shape(s) instead.
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
void |
apply_central_impulse ( Vector3 impulse ) |
void |
apply_impulse ( Vector3 position, Vector3 impulse ) |
get_bone_id ( ) const |
|
is_static_body ( ) |
Enumerations¶
enum JointType:
JointType JOINT_TYPE_NONE = 0
JointType JOINT_TYPE_PIN = 1
JointType JOINT_TYPE_CONE = 2
JointType JOINT_TYPE_HINGE = 3
JointType JOINT_TYPE_SLIDER = 4
JointType JOINT_TYPE_6DOF = 5
Property Descriptions¶
Transform body_offset = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
There is currently no description for this property. Please help us by contributing one!
float bounce = 0.0
There is currently no description for this property. Please help us by contributing one!
float friction = 1.0
There is currently no description for this property. Please help us by contributing one!
float gravity_scale = 1.0
There is currently no description for this property. Please help us by contributing one!
Transform joint_offset = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
There is currently no description for this property. Please help us by contributing one!
JointType joint_type = 0
There is currently no description for this property. Please help us by contributing one!
float mass = 1.0
There is currently no description for this property. Please help us by contributing one!
float weight = 9.8
There is currently no description for this property. Please help us by contributing one!
Method Descriptions¶
void apply_central_impulse ( Vector3 impulse )
There is currently no description for this method. Please help us by contributing one!
void apply_impulse ( Vector3 position, Vector3 impulse )
There is currently no description for this method. Please help us by contributing one!
int get_bone_id ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_simulate_physics ( )
There is currently no description for this method. Please help us by contributing one!
bool is_simulating_physics ( )
There is currently no description for this method. Please help us by contributing one!
bool is_static_body ( )
There is currently no description for this method. Please help us by contributing one!