Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
PhysicalBone3D¶
Inherits: PhysicsBody3D < CollisionObject3D < Node3D < Node < Object
A physics body used to make bones in a Skeleton3D react to physics.
Description¶
The PhysicalBone3D node is a physics body that can be used to make bones in a Skeleton3D react to physics.
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods¶
void |
_integrate_forces ( PhysicsDirectBodyState3D state ) virtual |
void |
apply_central_impulse ( Vector3 impulse ) |
void |
apply_impulse ( Vector3 impulse, Vector3 position=Vector3(0, 0, 0) ) |
get_bone_id ( ) const |
|
Enumerations¶
enum DampMode:
DampMode DAMP_MODE_COMBINE = 0
In this mode, the body's damping value is added to any value set in areas or the default value.
DampMode DAMP_MODE_REPLACE = 1
In this mode, the body's damping value replaces any value set in areas or the default value.
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