• Hi Guest!

    This is a notice regarding recent upgrades to the Hub. Over the last month, we have added several new features to improve your experience.
    You can check out the details in our official announcement!
Dynaimic Clothing Rips and Tears Tutorial

Guides Dynaimic Clothing Rips and Tears Tutorial

This guide will enable you to create dynamic ripping and tearing animations to any clothing.

Breast expansion proof of concept:


Requirements:
Magic Loupe by Crimeless - Provides the see through rip asset
DLUtils by Demonlord - Enables dynamic shape and size adjustment of the rip asset
Attach to Vertex by Stopper - Attaches the rip asset to clothing

Instructions:
Step 1: Add a custom unity asset to the scene and parent it to a person
Step 2: Load Magic Loupe asset bundle to custom unity asset, then select asset "shape_rips.uinity"
Step 3: Add DLUtils plugin and Attach to Vertex plugin to custom unity asset
Step 4: In the Attach to Vertex plugin, select the person atom, set item type clothing, and then select the specific clothing item you want to apply the rip to
Step 5: In Attach to Vertex tick the checkmark box and click "Re-Attach to closest" then play around with the Vertex Index value until the rip is close to the desired location
Step 6: Once the rip is near the desired location, manually rotate the rip to cover the clothing appropriately. Adjust its overall scale in the custom unity asset's Physics Object tab, and customize its shape by adjusting the ScaleX,Y,Z options in DLUtils

Animating Rips:
The rip asset can be animated in the timeline by adding the X,Y,Z scale options from custom unity asset's DLUtils plugin and scaling them accordingly. For your own custom rip animation, I recommend setting the x coordinate to 1 then expanding the Y coordinate. The rip can also be hidden by setting the X, Y, and Z to zero. In the timeline add DLUtil's Vertex Index, and the custom unity asset's controller. Make sure the custom unity asset is parented to the person.

Resolving Scene Loading Issue:
This setup is very sensitive to initial loading conditions. If you are having trouble with the rips loading properly, insure that your scene loads the rips in their proper position and rotation. To do this, you must create an initialization trigger, or initialization animation, or manually load a preset for the rip's custom unity asset that calibrates the custom unity asset's position, rotation, and DLUtil's vertex index. The rip custom unity assets have to be loaded under the exact same circumstances and conditions the scene was saved under.

Resolving Clothing Shadow Issue:
You may notice that the rip asset does not allow light to pass through the clothing, leaving a shadow against the person's body. The reason this isn't the case in my proof of concept video is because I added an invisible light behind the clothing, and parented it to the rip custom unity asset. I'm sure there is probably a better method for fixing this, and if you know such a method please leave it in the comments.

Recommended Mods:
Stripwise by GossamerVR - for better sim clothing fit
LogicBricks by MacGrubber - for scene initialization
Author
tanksk1
Views
2,658
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest reviews

god tier
Upvote 0
Back
Top Bottom