Skip to content

How to appear invisible in the room? #397

Discussion options

You must be logged in to vote

Hello, you should really hang out on slack, other persons other than me can answer those type of questions, it's actually a general question here not really specific to naf.
You can achieve this by adding a visible property on your player-info component and in update() set your avatar mesh accordingly, for example yourEl.object3D.visible = this.data.visible. Add a button to hide your avatar like this rig.setAttribute('player-info', 'visible:false')

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vincentfretin
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #393 on February 01, 2023 09:35.