• Hi Guest!

    Please be aware that we have released another critical security patch for VaM. We strongly recommend updating to version 1.22.0.12 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.
Reset Pose Root To Zero

Plugins + Scripts Reset Pose Root To Zero

This is great!

Just a suggestion that may make this more user friendly and add a great amount of functionality:

I think in addition to the Scene Plugin you've created, you could add a session plugin version that creates a "Reset Root" button in the VAM UI or the Person Atom's Control & Physics 1 tab.

I'm not great with C# but from what I can tell, this wouldn't be hard to do.

This would allow players to easily use your base functionality in their own scenes by loading poses for individuals or couples (or larger groups of Person atoms**), clicking "Reset Root", then manually moving their atoms to the precise coordinates (or to Zero).

I'm happy to take a crack at doing this if you don't have the time.
 
This would allow players to easily use your base functionality in their own scenes by loading poses for individuals or couples (or larger groups of Person atoms**), clicking "Reset Root", then manually moving their atoms to the precise coordinates (or to Zero).

The problem is that the user won't have any idea where (0, 0, 0) is. Not only that: the environment of the user's scene may be such that (0, 0, 0) is not free (think a wall or furniture impeding the view).
You seem to assume that you can just click "Reset to zero" and that's it, but that requires the atoms to be in the center of the scene. Or, at least, you need a "reference zero-point".

In fact, another idea that I had, is to create the red sphere on the fly via code, and let the user move it around, and use that as the zero point. I was thinking of implementing that, but I then went for this solution because it sounded more user friendly: having to deal with both moving the zero point and the atoms sounds annoying. I may still implement this, then the users can choose what they like.
 
Last edited:
"if the root control has an angle" - what does that mean?
Bad English on my part, I think.
If the root control of the person is tilted, then you're going to have a hard time moving it around manually. In that case, you can already press the green button to reset it. That will give you a more comfortable linear movement.
 
Love this asset. Any chance a button could be added to only reset the Position: Y value to 0? That's one of the most problematic fixes to some old poses I'm personally dealing with. If not, that's cool. Figure it doesn't hurt to ask.

Keep up the great work.
 
unusuable unless the person has the correct name of female. Which is more annoying than just dragging them back to the right position.
 
Any chance a button could be added to only reset the Position: Y value to 0? That's one of the most problematic fixes to some old poses I'm personally dealing with. If not, that's cool.
I don't think that I want to make that "official" because it sounds like a very specific case and it's going to confuse users.
However it's such a simple code change, that I've made a version for you.
The hub doesn't allow me to upload .var files as attachments, so here is the .cs file.

Instructions:
  • Download the attached file and rename it to "ResetPoseRootToZero.cs" (again, I named it different just to avoid confusion).
  • Open the original plugin var file with a program like 7-Zip.
  • Navigate to Custom/Scripts/SelakAR/ResetPoseRootToZero/
  • Replace the "*.cs" file with the modified one.
 

Attachments

  • ResetPoseRootToZero-YOnlyVersion.cs
    14.6 KB · Views: 0
I don't think that I want to make that "official" because it sounds like a very specific case and it's going to confuse users.
However it's such a simple code change, that I've made a version for you.
The hub doesn't allow me to upload .var files as attachments, so here is the .cs file.

Instructions:
  • Download the attached file and rename it to "ResetPoseRootToZero.cs" (again, I named it different just to avoid confusion).
  • Open the original plugin var file with a program like 7-Zip.
  • Navigate to Custom/Scripts/SelakAR/ResetPoseRootToZero/
  • Replace the "*.cs" file with the modified one.
Dude, that was awesome of you! Thanks so much!
 
Back
Top Bottom