1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Fixes the SkeletonIK twisting issue by using the skeleton global pose without overrides

(cherry picked from commit c1bc87ed0d)
This commit is contained in:
TwistedTwigleg
2021-04-27 17:56:19 -04:00
committed by Rémi Verschelde
parent feaf4e6207
commit e9c8889ae8
4 changed files with 78 additions and 106 deletions

View File

@@ -80,6 +80,15 @@
Returns the overall transform of the specified bone, with respect to the skeleton. Being relative to the skeleton frame, this is not the actual "global" transform of the bone.
</description>
</method>
<method name="get_bone_global_pose_no_override" qualifiers="const">
<return type="Transform">
</return>
<argument index="0" name="bone_idx" type="int">
</argument>
<description>
Returns the overall transform of the specified bone, with respect to the skeleton, but without any global pose overrides. Being relative to the skeleton frame, this is not the actual "global" transform of the bone.
</description>
</method>
<method name="get_bone_name" qualifiers="const">
<return type="String">
</return>