From 2dc823273e8d7d0eb92049c0d687f6a2c247ce13 Mon Sep 17 00:00:00 2001 From: reduz Date: Wed, 13 Oct 2021 09:37:40 -0300 Subject: Remove REST transform influence in skeleton bones * Animations and Skeletons are now pose-only. * Rest transform is kept as reference (when it exists) and for IK * Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products). --- doc/classes/Skeleton3D.xml | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) (limited to 'doc/classes/Skeleton3D.xml') diff --git a/doc/classes/Skeleton3D.xml b/doc/classes/Skeleton3D.xml index e046527b17..e804e7bf24 100644 --- a/doc/classes/Skeleton3D.xml +++ b/doc/classes/Skeleton3D.xml @@ -47,6 +47,11 @@ Removes the local pose override on all bones in the skeleton. + + + + + @@ -88,13 +93,6 @@ Returns the amount of bones in the skeleton. - - - - - Returns the custom pose of the specified bone. Custom pose is applied on top of the rest pose. - - @@ -214,13 +212,6 @@ Returns whether the bone pose for the bone at [code]bone_idx[/code] is enabled. - - - - - Returns whether the bone rest for the bone at [code]bone_idx[/code] is disabled. - - @@ -290,23 +281,6 @@ Sets the children for the passed in bone, [code]bone_idx[/code], to the passed-in array of bone indexes, [code]bone_children[/code]. - - - - - - Sets the custom pose transform, [code]custom_pose[/code], for the bone at [code]bone_idx[/code]. This pose is an addition to the bone rest pose. - [b]Note:[/b] The pose transform needs to be in bone space. Use [method world_transform_to_global_pose] to convert a world transform, like one you can get from a [Node3D], to bone space. - - - - - - - - Disables the rest pose for the bone at [code]bone_idx[/code] if [code]true[/code], enables the bone rest if [code]false[/code]. - - -- cgit v1.2.3