Access to USDZ materials and animations from Swift

I'm working on an AR project with a rigged animated character exported from Blender in gltf, then converted as an USDZ file thanks to usdzconvert.


It's OK for importing the asset in Reality Composer, and launching 1 animation.


But :


1°/ Multi-animations : is it possible to import in the USDZ file more than 1 animation (for instance differents movements of the character), and to launch (or chain) them from Swift code ? If it's possible, is there sample code showing how to do that ?


2°/ Materials : I would like to modify, in the code, the transparency of a material, but I don't understand how to access materials in the USDZ file from Swift code ...


Many thanks for your help !

Hello,


I'm also looking for a way to use more than one animation from USDZ file and i'm starting to think this is not possible at the moment with RealityKit.

Maybe you have made some progress on this on your side?

Hello. Did you make any progress here with multiple animations? Trying to do multiple animations.
Access to USDZ materials and animations from Swift
 
 
Q