Issue:
I've made a script that enforces the max / min height if someone joins with / switches to an Avatar that is bigger / smaller than what is allowed. I still want people to be able to change their height inside that limited range though.
Doing this is currently impossible however, as enabling manual scaling puts the player back at their original / set height even if it's outside of the bounds I've set in my world.
Repro Steps:
If you do this, you will notice that you will be set to a height of 4m for 5 seconds and then get switched back to your bigger height once I enable Manual Scaling again.
Expected Behavior:
Enabling Manual Scaling through Udon should not set the player back to their original / manually set height, especially not if their original / manually set height is above / below the set limits.
With this current behavior it's impossible to create a system that enforces the min / max height while also still allowing people to change their height in a given range. Which is what I think most people would want to do for game worlds.
Attachments:
Here is a link to my script:
Here is a link to my test world:
Here is a video showcasing the issue: