Add validation for rotation axis to SpringBoneSimulator3D
This commit is contained in:
parent
b3a44e8d51
commit
48e74af421
4 changed files with 43 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
|||
Several properties can be applied to each joint, such as [method set_joint_stiffness], [method set_joint_drag], and [method set_joint_gravity].
|
||||
For simplicity, you can set values to all joints at the same time by using a [Curve]. If you want to specify detailed values individually, set [method set_individual_config] to [code]true[/code].
|
||||
For physical simulation, [SpringBoneSimulator3D] can have children as self-standing collisions that are not related to [PhysicsServer3D], see also [SpringBoneCollision3D].
|
||||
[b]Warning:[/b] A scaled [SpringBoneSimulator3D] will likely not behave as expected. Make sure that the parent [Skeleton3D] and its bones are not scaled.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
|
@ -583,6 +584,7 @@
|
|||
<description>
|
||||
Sets the rotation axis of the bone chain. If sets a specific axis, it acts like a hinge joint.
|
||||
The value is cached in each joint setting in the joint list.
|
||||
[b]Note:[/b] The rotation axis and the forward vector shouldn't be colinear to avoid unintended rotation since [SpringBoneSimulator3D] does not factor in twisting forces.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_stiffness">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue