How to get only the Object mode of AR Quick Look using USDZ file?

I would like to present a 3D USDZ animation (rotatable, scalable) to the users. The USDZ file contains a rigged 3D character doing push ups.

I can open the file in AR Quick Look without a problem, but could not find a way to present it only as a 3D object and not in the real world.

I have tried using SceneView but the animation did not load. However when I tried a static USDZ file then it worked, but for a USDZ animation it did not.
Finally, I have solved the issue.
For USDZ files RealityKit is a better technology than SceneKit.

All I had to do:
  1. Place the USDZ file in to the scene as I normally would with any file.

  2. Set the camera mode of ARView to .nonAR: arView.cameraMode = .nonAR

Code Block Swift
arView.cameraMode = .nonAR

3. Start and repeat its animation:
Code Block Swift
entity.availableAnimations.forEach { entity.playAnimation($0.repeat()) }


How to get only the Object mode of AR Quick Look using USDZ file?
 
 
Q