A bunch of joints, animated, cannot be converted
See original GitHub issueI basically have bunch of joints, animated, under Armature, exported from Blender.
Error Message:
192-168-1-4:source jimmygunawan$ python gltf2usd.py -g loopingnoise.gltf -o loopingnoise.usda
Traceback (most recent call last):
File "gltf2usd.py", line 1105, in <module>
convert_to_usd(args.gltf_file, args.usd_file, args.fps, args.verbose)
File "gltf2usd.py", line 1094, in convert_to_usd
GLTF2USD(gltf_file=gltf_file, usd_file=usd_file, fps=fps, verbose=verbose)
File "gltf2usd.py", line 63, in __init__
self.convert()
File "gltf2usd.py", line 1080, in convert
self.convert_nodes_to_xform()
File "gltf2usd.py", line 101, in convert_nodes_to_xform
self._convert_animations_to_usd()
File "gltf2usd.py", line 511, in _convert_animations_to_usd
self._convert_skin_animations_to_usd()
File "gltf2usd.py", line 623, in _convert_skin_animations_to_usd
self._store_joint_animations(usd_animation, joint_values, joint_map)
File "gltf2usd.py", line 667, in _store_joint_animations
rotation = joint.skeleton_joint.GetRestTransformsAttr().Get()[joint.joint_index].ExtractRotation()
AttributeError: 'dict' object has no attribute 'GetRestTransformsAttr'
I don’t have root of this bones, wondering if this is an issue?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Solved: Cannot animate multiple joints by dragging - Fusion 360
Depending on the model joints, one may activate another. This may not be your case but in a continuous motion assembly, this is...
Read more >Use the Bone tool animation in Animate - Adobe Support
Learn about Bone tool animation and how it uses inverse kinematics (IK) to ... Note: An IK shape cannot be transformed (scaled or...
Read more >Project 5b: Character Rigging - Washington
To allow a character to animate, you place a set of joints inside it, which will act similar to bones in a human...
Read more >Joints for secondary character animation in Unity3D
Ok, figured it out. Simply removed the jaw from the Mecanim system and added the rigidbody with a Hinged Joint to it.
Read more >Chapter 2: Skeletons - UCSD CSE
Translational joints are not as common in computer character animation as rotational joints, but they still are important to consider. Generally, real-life ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@enzyme69 interesting, I was able to get all the toruses to animate on iOS, though it doe look different in XCode Beta 6. This could be another difference in behavior between Mac OS and iOS. I made a screen recording on my phone for reference. IMG_1338.TRIM.MOV.zip
@kcoley You are right!! It’s also working and animating on my side on iPhone and iPad.
I guess we can send bug report to Apple. MacOS and iOS USDZ has different behaviour. Sometimes it works on MacOS and not on iOS… at least this works on iOS!!
Thanks!