Class PhysicalBoneSimulator3D
Node that can be the parent of PhysicalBone3D and can apply the simulation results to Skeleton3D.
- Inheritance
-
PhysicalBoneSimulator3D
Remarks
Node that can be the parent of PhysicalBone3D and can apply the simulation results to Skeleton3D.
Methods
is_simulating_physics
Qualifiers: const
Returns a boolean that indicates whether the PhysicalBoneSimulator3D is running and simulating.
bool is_simulating_physics
physical_bones_add_collision_exception(RID)
Adds a collision exception to the physical bone.
Works just like the RigidBody3D node.
void physical_bones_add_collision_exception(RID exception)
Parameters
exception
RID
physical_bones_remove_collision_exception(RID)
Removes a collision exception to the physical bone.
Works just like the RigidBody3D node.
void physical_bones_remove_collision_exception(RID exception)
Parameters
exception
RID
physical_bones_start_simulation(StringName[])
Tells the PhysicalBone3D nodes in the Skeleton to start simulating and reacting to the physics world.
Optionally, a list of bone names can be passed-in, allowing only the passed-in bones to be simulated.
void physical_bones_start_simulation(StringName[] bones)
Parameters
bones
StringName[]
physical_bones_stop_simulation
Tells the PhysicalBone3D nodes in the Skeleton to stop simulating.
void physical_bones_stop_simulation