Add new scene import option to import as Skeleton
Adds a bool import option `nodes/import_as_skeleton_bones`. This is supported in all FBX or GLTF document based formats. It is especially useful for retargeting and importing animations.
This commit is contained in:
@ -53,6 +53,9 @@
|
||||
<member name="nodes/apply_root_scale" type="bool" setter="" getter="" default="true">
|
||||
If [code]true[/code], [member nodes/root_scale] will be applied to the descendant nodes, meshes, animations, bones, etc. This means that if you add a child node later on within the imported scene, it won't be scaled. If [code]false[/code], [member nodes/root_scale] will multiply the scale of the root node instead.
|
||||
</member>
|
||||
<member name="nodes/import_as_skeleton_bones" type="bool" setter="" getter="" default="false">
|
||||
Treat all nodes in the imported scene as if they are bones within a single [Skeleton3D]. Can be used to guarantee that imported animations target skeleton bones rather than nodes. May also be used to assign the [code]"Root"[/code] bone in a [BoneMap]. See [url=$DOCS_URL/tutorials/assets_pipeline/retargeting_3d_skeletons.html]Retargeting 3D Skeletons[/url] for more information.
|
||||
</member>
|
||||
<member name="nodes/root_name" type="String" setter="" getter="" default="""">
|
||||
Override for the root node name. If empty, the root node will use what the scene specifies, or the file name if the scene does not specify a root name.
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user