Inconsistent constraint location scale
needs more information
Miamikicchi
For VRC constraints:
"Position At Rest" (under Constraint Settings) operates at a different (relative) scale from "Position Offset" (Under Sources under Element).
If the parent object's scale changes, the Position Offset is not compensated for. This is neither mentioned in docs nor expected behavior (and also very unobvious). I assume this is observable in-game as well, but it is at least observable in the editor.
SDK version 3.10.2
Log In
Dexvoid
marked this post as
needs more information
Hi, thanks for your report.
In my repro attempt, I have a VRCPositionConstraint set as the child of a game object with world scale (2,2,2), Position At Rest set to (0,1,0) and Position Offset set to (1,0,0). With this setup, the game object moves to be 2 units above the parent in world space when Weight is set to 0 and 2 units to the side of the source in world space when Weight is set to 1. These distances are both responding to the scale of the constraint's parent, and this behavior is consistent with a Unity constraint set up in the same way.
If you feel you've found a situation where VRChat and Unity constraints behave differently, or if I've misinterpreted your report, please respond with some info about the specific game object hierarchy you're using to help with finding a repro. Thanks!