Interact with USDZ parts

Hello, I have a USDZ file placed in a SceneView, and I am searching for a way to interact with parts of that USDZ inside my app.

For example, I have a person made up of 6 parts (arm_right, arm_left, leg_left, leg_right, body and head) and I would like to select arm_left and see its width.

How can I achieve this inside my app?

Accepted Reply

Hello,

Assuming that each of these parts has its own SCNNode, you can use hitTest(_:options:) to see if you hit a node with a particular name.

Replies

Hello,

Assuming that each of these parts has its own SCNNode, you can use hitTest(_:options:) to see if you hit a node with a particular name.