Oculus Connect 4 will feature more than 30 sessions across four tracks: Develop, Design, Distribute, and Future.

We kick things off with a keynote address on October 11!
New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

Using a custom mesh for the Local Avatar and how? [Unity]

Pr3da70rl0rdPr3da70rl0rd Posts: 1
Virtual Boy (or Girl)
Hello everyone,
I am looking for a way to change the mesh of the Local Avatar with a custom one. The problem I am facing is related to the fact that the mesh is loaded/generated from a script after the game starts.

My question: Is there a way to stop the LocalAvatar from generating/loading the mesh and use a custom one?

Thanks for the assistance.

Answers

  • imperativityimperativity Posts: 1,321 Oculus Staff
    edited September 18
    Hi,

    Welcome to the Oculus Developer Forums.

    I am passing this along to the Avatars team for their input and will update this thread when I have more information to share.

    EDIT:   The code that prepares the avatar mesh is in OvrAvatarAssetMesh.cs in the Avatar SDK package. This code takes data provided by the SDK to procedurally generate a mesh for the Avatar. You can modify this code to generate or reference whatever mesh you prefer to use.
Sign In or Register to comment.