vrchat-community / osc

Files and Info on using OSC to communicate with VRChat
MIT License
234 stars 5 forks source link

New input /input/remeasure to trigger an remeasure of the avatar #133

Open FrostbyteVR opened 1 year ago

FrostbyteVR commented 1 year ago

What's the idea? A input new input that can be used to trigger a remeasure (NOT recalibration) of the avatar. This would allow OSC applications to cause a remeasure of the avatar, and cause tracking to be realigned without causing a full recalibration.

This would unlock huge possibilities for avatar gimmics which modify the armature in various ways, i.e through such as changing scale(avatar scale systems) or wingspan(mech suit toggles, form changes ect..) of the avatar for an effect.

Some examples of effects currently not possible, but which would be made possible directly through this OSC input are:

  1. Shrinking the avatar when an user hits/bonks you on the head hard enough.
  2. A mech suit with drastically different proporsions(wingspan) then the "pilot part" of the avatar, which one can smoothly go in and out off.
  3. Similarly a morphing avatar, drastically changing it form would be made possible.
  4. Clothing toggles - especially those with high heels/flat shoes, could now remeasure the avatar to cause it to not sink into the group.

Remeasuring the avatar is required for all of these effects inorder to update the viewpoint and to realign vr tracking properly.

Is there another way? There currently is no way to trigger a remeasure on command from an animator, or even in any smooth or contigious fashion. With the only possibilites currently being extremely clunky and limiting (such as togglin OSC off and on again). -And are therefore not applicable to the above usecases / gimmics, though some other gimmics can currently be done through this clunky workaround.

Additional context It is no secret that much of the interest in these types of gimmics came from a certain community effort, which made contigious remeasurement possible; Sadly this effort broke permanatenly with update #1213.

Many avatar authors started exploring in recent months these types of gimmics, and I think its ashame they have been so greatly limited now. Which is why I would like to see this OSC endpoint implement, to once again allow these things to be done.