骨格推論のやり方

Asked on 08/29/2024

1 search

To perform skeletal inference in Reality Composer Pro, you can use the new skeletal poses API. This API allows you to animate characters by rotating their joints to pose them into various positions. You can use animations produced by RealityKit or modify the skeleton at runtime. The skeletal poses component can be queried programmatically to update the transforms on specific joints.

For example, to make a robot's neck bone rotate as if it's watching a butterfly, you can use the skeletal poses API to update the rotation of the joints in local space on every frame. This is particularly useful for animating characters to perform actions like walking or running.

If you're interested in learning more about this, you can refer to the session Compose interactive 3D content in Reality Composer Pro (31:17) for detailed information on using the skeletal poses API.