diff --git a/doc/classes/PhysicalBone3D.xml b/doc/classes/PhysicalBone3D.xml index ca1948e8e11..e8ca6cc333c 100644 --- a/doc/classes/PhysicalBone3D.xml +++ b/doc/classes/PhysicalBone3D.xml @@ -21,6 +21,9 @@ + Applies a directional impulse without affecting rotation. + An impulse is time-independent! Applying an impulse every frame would result in a framerate-dependent force. For this reason, it should only be used when simulating one-time impacts (use the "_integrate_forces" functions otherwise). + This is equivalent to using [method apply_impulse] at the body's center of mass. @@ -28,21 +31,27 @@ + Applies a positioned impulse to the PhysicsBone3D. + An impulse is time-independent! Applying an impulse every frame would result in a framerate-dependent force. For this reason, it should only be used when simulating one-time impacts (use the "_integrate_forces" functions otherwise). + [param position] is the offset from the PhysicsBone3D origin in global coordinates. + Returns the unique identifier of the PhysicsBone3D. + Returns whether the PhysicsBone3D is set to simulate physics. + Checks if the PhysicsBone3D is currently simulating physics. @@ -108,16 +117,22 @@ In this mode, the body's damping value replaces any value set in areas or the default value. + No joint is applied to the PhysicsBone3D. + A pin joint is applied to the PhysicsBone3D. + A cone joint is applied to the PhysicsBone3D. + A hinge joint is applied to the PhysicsBone3D. + A slider joint is applied to the PhysicsBone3D. + A 6 degrees of freedom joint is applied to the PhysicsBone3D.