ILipAnimations
This is the interface for lip-syncing, and it is by default null
. Our model also supports Oculus Lip Sync.
To implement it, you need to fetch and download the Oculus VR Unity Package
Create a prefab with a script inheriting ILipAnimation, as well as OvrLipSync
, OvrLipSyncContent
, and Audio Source
.
Note that the viseme of SkinnedMeshRender
for Ready Player Me characters starts at index 57 and ends in 74.
The data values range from 0 to 1, while OVR's original demo ranged from 0 to 100.
API
Function | Return Type | Description | Parameters |
---|---|---|---|
ConfigureModel | void | Let the model attach LipSyncing | model: the model to attach |
StartLipSync | void | For the component to start lip-syncing | N/A |
StopLipSync | void | For the component to stop lip-syncing | N/A |