yoship1639 / ValheimVRM

Mod to replace Valheim player with VRM model.
MIT License
52 stars 19 forks source link

Odd behaviour parsing LeftHandEuqipPos, RightHandEuqipPos #35

Open rrear opened 1 year ago

rrear commented 1 year ago

Only whole numbers seem to parse out. For example, RightHandEquipPos=(0.0000,0.0008,0.0002) comes in as (0.0, 0.0, 0.0)

I managed to get (0, -1e-1, 1e-1) to work to give result of (0.0, -0.1, 0.1), but trying to get more than one decimal place (eg with 1e-2) fails.

Perhaps "Settings.ReadVector3( )" cannot be relied on to parse numbers below 0.1 and the parsing can instead be done by custom function.

Tiavor commented 1 year ago

thanks for this hint. but it seems my model would need 0.05 offset, so either it's a few cm in front of the hand or too far in.