yoship1639/Player2VRM

[BUG] ModelScale not precise - bad float approximation

LoneDev6 opened this issue · 0 comments

Hello!
Seems that ModelScale gets rounded to first 2 digits.
For example a value of 0.15 won't work, only 0.1 will.

ModelScale code:

context.Root.transform.localScale *= Settings.ReadFloat("ModelScale", 1.0f);

Float conversion:

public static float ReadFloat(string key, float defaultValue = 0.0f)

Thanks!