Skip to content
0.2.0-dev Download ZIP
49 lines ·1.9 KB Raw
1<?xml version="1.0" encoding="UTF-8" ?>
2<class name="PhysicalBoneSimulator3D" inherits="SkeletonModifier3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 Node that can be the parent of [PhysicalBone3D] and can apply the simulation results to [Skeleton3D].
5 </brief_description>
6 <description>
7 Node that can be the parent of [PhysicalBone3D] and can apply the simulation results to [Skeleton3D].
8 </description>
9 <tutorials>
10 </tutorials>
11 <methods>
12 <method name="is_simulating_physics" qualifiers="const">
13 <return type="bool" />
14 <description>
15 Returns a boolean that indicates whether the [PhysicalBoneSimulator3D] is running and simulating.
16 </description>
17 </method>
18 <method name="physical_bones_add_collision_exception">
19 <return type="void" />
20 <param index="0" name="exception" type="RID" />
21 <description>
22 Adds a collision exception to the physical bone.
23 Works just like the [RigidBody3D] node.
24 </description>
25 </method>
26 <method name="physical_bones_remove_collision_exception">
27 <return type="void" />
28 <param index="0" name="exception" type="RID" />
29 <description>
30 Removes a collision exception to the physical bone.
31 Works just like the [RigidBody3D] node.
32 </description>
33 </method>
34 <method name="physical_bones_start_simulation">
35 <return type="void" />
36 <param index="0" name="bones" type="StringName[]" default="[]" />
37 <description>
38 Tells the [PhysicalBone3D] nodes in the Skeleton to start simulating and reacting to the physics world.
39 Optionally, a list of bone names can be passed-in, allowing only the passed-in bones to be simulated.
40 </description>
41 </method>
42 <method name="physical_bones_stop_simulation">
43 <return type="void" />
44 <description>
45 Tells the [PhysicalBone3D] nodes in the Skeleton to stop simulating.
46 </description>
47 </method>
48 </methods>
49</class>