Profile PictureDigiDuncan
$5+

MovementScaler

0 ratings
Add to cart

MovementScaler

$5+
0 ratings

Scale your player's movement speeds to (roughly) their avatar height.

Test it here!: https://vrchat.com/home/launch?worldId=wrld_d382d0be-c8dc-47a3-82df-9dcdfe6ce9ed


Simply attach the MovementScaler UdonBehaviour to an enabled GameObject in your scene. The script will take care of the rest!

The public variable "Scale" (as a ratio of DefaultHeight) is available for use in other scripts. Please don't modify their values or things will bork.

Please use the "Toggle" custom event to turn this on and off mid-game since it updates some variables and runs some functions and that's important.

NOTE: This script doesn't work right in ClientSim. If you rescale while it's running, the script does not detect it. It works fine in VRChat. If you have any issues, let me know!


$
Add to cart

MovementScaler + HeightColliders!

VCC
Yep
Udon Graph or U#?
Udon Graph
Size
28.5 KB
Copy product URL