API reference
API reference
Select your platform
No SDKs available
No versions available

OVRCustomSkeleton Class

Extends OVRSkeleton, ISerializationCallbackReceiver
A child class definition of the class responsible for setting OVRSkeleton body tracking bones transforms to a specified oculus skeleton.
The oculus skeleton is a skeleton that will need to use bones that match body tracking names specified in OVRSkeleton.BoneId for the desired skeleton joint set, and performs no other modifications on top of applying the body tracking data. As such, the skeleton bones should be rigged such that the rest pose bones of the skeleton matches the bone structure and space in OVRSkeleton.BindPoses. A visual reference of body joints can also be found here.

Member Enumerations

Enumeration RetargetingType

This enum specifies the types of supported skeleton structures to be retargeted to from body tracking.
Any skeleton type that isn't specified here is not compatible with the OVRCustomSkeleton. Instead, please check the body tracking documentation for more information on retargeting to a third party humanoid skeleton.
OculusSkeleton
The default skeleton structure of the body tracking system.

Properties

Provides access to the list of bones that are part of the Oculus skeleton.
These bones have body tracking data applied, and can be accessed to apply or retrieve information about the skeleton such as the position and rotation of a specific bone. By using these transforms, you can modify the skeleton to be affected by application logic.

Protected Functions

virtual override Transform GetBoneTransform
( BoneId boneId )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon