overte-org/community-apps

Doppelganger ignores avatar scale

Opened this issue · 2 comments

When using Doppelganger to mirror a scaled down or scaled up avatar, it will not scale it correctly.
This happens both on v8 and on Qt Script.

Scaled down (left is original, right is doppelganger):
overte-snap-by-JulianGro-on-2023-07-04_08-49-24

Scaled up (left is original, right is doppelganger):
overte-snap-by-JulianGro-on-2023-07-04_08-53-47

This won't be an easy one to fix. As far as I am aware exact avatar dimensions are not exposed anywhere (I don't know if it can be practically) and calculating on the script side is bound to cause errors on different avatars.

I think we have the dimension of the model (from the dopple ganger Entity) + Avatar scale (from MyAvatar). I think with those 2, it should be possible.