Hubs-Foundation / hubs-avatar-pipelines

Hubs avatars and related assets for avatar customization.
Mozilla Public License 2.0
96 stars 40 forks source link

Moving with avatars causes mesh glitches in first person perspective #8

Open RoachA opened 4 years ago

RoachA commented 4 years ago

This happens with some of the currently uploaded avatars and also the avatars I made myself. When I use them I see portions of the mesh visible as I move. I see some vertices wobbling or stuck at a point. This glitch is only visible to the user of the avatar other users cannot see it on my avatar.

https://imgur.com/a/t7U9PbO - example

Also I have noticed that if I use a selfie camera this glitch disappears, however when I remove the selfie camera it occurs again.

Any clues? Thank you!

j-conrad commented 4 years ago

This can happen if your avatar has vertices that are skinned to both the body and the head. Currently, a given vertex cannot be shared between the head and the rest of the body (like a neck, for example). If you ensure that the verices are skinned 100% to the head or body, but not shared between them, you'll get no stretching of vertices.