Hi, I'm developing a prototype VisionOS game.
How to access the bones or joints information when exporting a USD file from Blender to RCP?
The animation in RCP works fine and the joints' information is correctly embedded in the USDA file (with usdchecker). However, RCP does not read it in USDA, USDC or USDZ. It should be possible based on Apple WWDC24 (Compose Interactive 3D content in RCP).
I want to attach and detach an entity to a particular bone in certain moments. So I need the bones' data. They are standard mixamo animations. My mesh is a single unified mesh. Using Blender 4.4
Hello @Crixoule !
Hope this will be in VisionOS 26.
Yes! In visionOS 26 we introduced attach(_ to:)
, which is the new, recommended way to attach an Entity to a GeometricPin on another Entity. So in your case, it sounds like you'd be calling attach on the entity you want to attach to Mesh01, and then pass in the Mesh01 entity as a parameter.
I then need to manually add all the animations to the first file so I can build the library. Would be cool if the USD file could read the animation strips (NLA) and combining all animations in separate slots for RCP.
I strongly recommend sending feedback about RealityKit's animation API including details of your use case using Feedback Assistant. I agree with you that the process of sequencing all your animations in Blender's NLA and then splitting them up in RCP with the AnimationLibraryComponent
can be awkward, and your feedback and use case will help us improve this experience in the future.