Skip to content

Relationship between AvatarManager prefab and Player prefab #23

Answered by bnco-dev
jason-ortiz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jason-ortiz! The Avatar transforms come from a 'hints' system. You provide a few hints about, for e.g., head and hands positions. Then the avatar makes use of them if it can. You can add or remove hints from the system at runtime. There's no direct connection between the Player prefab and the AvatarManager or the Avatars. The idea is that this way you can be free to use different Player prefabs, and it should be easier to attach an avatar to an existing player prefab from another toolkit, like MRTK.

For the Start Here scene, have a look at UbiqAvatarHintsHelper. It lives on the AvatarManager GameObject and attaches the simple Ubiq Player prefab to the AvatarManager at runtime. Try ent…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jason-ortiz
Comment options

@bnco-dev
Comment options

Answer selected by jason-ortiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants