Add validation for rotation axis to SpringBoneSimulator3D

This commit is contained in:
Silc Lizard (Tokage) Renew 2025-01-15 12:39:50 +09:00
parent b3a44e8d51
commit 48e74af421
4 changed files with 43 additions and 0 deletions

View file

@ -7,6 +7,7 @@
A collision can be a child of [SpringBoneSimulator3D]. If it is not a child of [SpringBoneSimulator3D], it has no effect.
The colliding and sliding are done in the [SpringBoneSimulator3D]'s modification process in order of its collision list which is set by [method SpringBoneSimulator3D.set_collision_path]. If [method SpringBoneSimulator3D.are_all_child_collisions_enabled] is [code]true[/code], the order matches [SceneTree].
If [member bone] is set, it synchronizes with the bone pose of the ancestor [Skeleton3D], which is done in before the [SpringBoneSimulator3D]'s modification process as the pre-process.
[b]Warning:[/b] A scaled [SpringBoneCollision3D] will likely not behave as expected. Make sure that the parent [Skeleton3D] and its bones are not scaled.
</description>
<tutorials>
</tutorials>