Sim Setter

Plugins + Scripts Sim Setter

Download [<1 MB]
SimSetter is a small collection of plugins that allow you to save and restore a specific shape to a sim clothing item.

After manipulating a sim clothing item to be shaped in a certain way, via physics grab, morph changes, or pose adjustments, these plugins will save the position of the clothing's vertices and can then restore them to that exact position. This is useful for situations where certain morphs or poses may interfere with a clothing item's initialized sim state, or other situations where a person atom or other object is interacting with the clothing item in a specific way that the sim initialization would interfere with.

The saved sim position data will account for changes in atom position and rotation, but cannot account for pose or atom scale changes. These plugins do not rewrap or freeze the sim in place; the physics remain active after the vertex positions are set. Note that by disabling clothing collision and setting the clothing's stiffness, weight, and gravity to 0, the clothing can be made to appear "frozen" in a certain position, as long as the atom is in a static pose.

Note that the relevant clothing items must already be loaded into scene memory (though not necessarily active) before a preset is applied, otherwise the plugins will not load the sim data. Reapply the preset as needed once the items are loaded.

How To:

SimSetter.cs:
simsettermanual.png

Allows for multiple bundles of clothing sim data to be saved and applied. Functions like an amalgam of the other three scripts; similar bundle control to SheetSetter.cs, similar save/apply control to OutfitSetter.cs.

OutfitSetter.cs:
outfitsettermanual.png

OutfitSetter.cs saves a single set of sim vertex positions for multiple clothing items at once.

ItemSetter.cs:
itemsettermanual.png

ItemSetter.cs saves one set of vertex positions for a single clothing item. Best for one-offs where only one clothing item needs special attention.

SheetSetter.cs:
sheetsettermanual.png

SheetSetter.cs works on SimSheet atoms.


Target Clothing:
Allows for selection of clothing items.
Should only show simmed clothing.
List updates when the menu is opened.
Shows the entire uid so can be hard to read, but the display name of the selected item will also be shown in the info box.

Save Sim/Set Sim:
Saves and sets (applies) the vertex position data for the sim items.
Plugins that handle multiple items have extra options to update or delete all sim data with one click.
There are additional triggerable actions for queueing sim data to be applied after a short delay, which do not have button counterparts.

Bundle Controls:
For SimSetter.cs and SheetSetter.cs, bundles of data can be added, selected, and deleted to allow multiple sim states to be saved for the same clothing items or sim sheet.

Info Box:
Displays the name of the target clothing item for readability.
Displays information about which items have been saved, and to which bundle.
Contains other info about the state of the sim data.

Set On Load/Delay:
Applies the vertex data, or the selected bundle data, as soon as the scene is fully loaded.
When using the queue sim triggerable actions, the action will be delayed by an adjustable number of FixedUpdate frames to prevent conflicts with atom physics resetting on e.g. pose changes. 50 FixedUpdate frames = 1 second.

Presets:
Each plugin has its own type of preset file.
OutfitSetter.cs can load presets from ItemSetter.cs as single items to add to the collection.
SimSetter.cs can load presets from ItemSetter.cs to add to an existing bundle, and can load presets from OutfitSetter.cs as new bundles.




Silly little demo video using ItemSetter:
React to this content...

Share this resource

More resources from coinstacc

Credits

Creator Support Link
GossamerVR GossamerVR
MacGruber MacGruber
AcidBubbles
S Stopper
C coinstacc

Latest updates

  1. small hotfix

    This is a very minor fix to a couple of the scripts: - Properly classed ItemSetter.cs as...
  2. The Big One

    It's here. After a bunch more effort than expected, the Sim Setter suite now has a plugin that...
  3. The "oh sheet" update

    Per a request, there is a new SheetSetter plugin as part of the package that can be applied to...

Latest reviews

Positive
Version: 7
Posted:
You deseve a goty or an academy award for this vide. thank you you made my day ! I will go test th plugin myself.... still ahahahaaaaaaa
Upvote 0
Positive
Version: 7
Posted:
best demo hahaha
Upvote 0
Positive
Version: 6
Posted:
I have been studying for half a day, but unfortunately, I cannot use triggers to load and save simulated states. In other words, when used in a timeline, there can only be one state, and clothing cannot appear in multiple states according to the timeline. It would be great if it could be like a simulation table. I hope the author can update it in the future. Thank you very much for your excellent work
C
coinstacc
Deleted my previous response going over the then-limitations of the plugin; a version that can save multiple states has now been released!
Upvote 0
Positive
Version: 5
Posted:
Yes really better! TY!
Upvote 0
Positive
PVP
Version: 5
Posted:
The demonstration is funny and more importantly, to-the-point. TY for sharing your work!
Upvote 1
Positive
Version: 4
Posted:
🤣I love your VR headset & hand movements in the demo video! ...Frickin hilarious!
Upvote 1
Positive
Version: 4
Posted:
Laughing out loud on that demo! Nice!
Upvote 4
Positive
Version: 4
Posted:
Hahaha.
Best demo video ever coming with a release doc. Did not test the plugin, this presentation is good enough.

Note: I will come back after testing it thoroughly :p
Upvote 1
Positive
FCG
Version: 4
Posted:
That must be the best demo video I have ever seen
Upvote 5
Positive
Version: 3
Posted:
I'm not a creator and not technically savvy, so I have no use for this personally, but I see how useful it is, and the main reason I'm reviewing was the demo video was funny af and made my day, as it was very fun and expressive lol. But other than the video, the plugin looks very useful for scenes, so I'm reviewing both the plugin and the funny video! Well done!
Upvote 0
Back
Top Bottom