oculus-samples / Unity-Movement

Body, Eye and Face Tracking code sample.
Other
269 stars 45 forks source link

Replace default avatar with other #38

Closed Softelectro closed 9 months ago

Softelectro commented 1 year ago

Hello, I want to replace the default avatars with others (like avatars from Character Creator 4). Despite several attempts, I can't reproduce the test scene (MovementHipPinning).

What avatar source do you use (CC4D, Mixamo, ...)? Are there any specific parameters to take into account during generation?

Thank you.

owlandfox commented 1 year ago

Wouls also like more detail on this. struggling on same setup

andkim-meta commented 1 year ago

Hello. For targeting characters that are Unity Humanoid, we recommend looking at the MovementRetargeting scene. In that sample scene, we apply tracking to a Unity Humanoid character, then display how to use animation rigging to fix up issues such as the deformation. The components we would recommend looking at are:

We also have a one-click helper menu that can setup these constraints on your character, available under "GameObject -> Movement Samples -> Body Tracking -> Animation Rigging Retargeting (constraints)".

andkim-meta commented 9 months ago

Hello. We have some updated documentation on setting up a retargeted character here that should help resolve the issue: Setting up a character for body tracking. Closing this issue for now.