RIPPLE for Virt-A-Mate 1.x

Add Custom/Scripts/RIPPLE/RIPPLE.cs to the Person atom. Enable VaM's soft body physics and the person's glute soft physics. The addon uses the native glute soft joints on supported female characters.

Automatic reference
Add the plugin in any pose. Once the person's soft physics is active, it lets the joints settle for half a second and measures the next second of surface area. It uses this initial pose immediately, including during animation. When the person later stands upright and settles, it automatically takes a standing measurement with assistance paused. The Custom UI identifies the reference in use. Saving the scene retains the measurement and its type. Existing standing references carry forward.

The Glute Area Standing pose preset is optional. To deliberately replace a reference after changing body proportions, stand the character up and press Recalibrate in standing pose.

Controls
Update rate (Hz) sets the target cadence for surface measurements, compression, spread, and wave highlights. The default is 30 Hz and the range is 10–90 Hz. Lower rates reduce update cost and add up to one sampling interval of response delay. Physics updates are limited by the VaM physics rate. Impact detection, wave integration and force application follow every physics tick. Initial calibration samples at the physics rate. The slider is saved with the scene.

Apply area forces lets you switch between control and measurement in the same pose. The two signed area percentages show the difference from the active left and right reference areas. Area tolerance sets the dead band. Strength controls the response. Support acceleration limit caps the assistance. The default 2% tolerance marks where correction begins. Poses that stretch the surface can retain a larger area difference.

The plugin sums the areas of skin triangles on and immediately around each native glute soft joint's target and influence vertices. The controller filters the measured area error and moves each side as a group, with forces tapering at its edges. The controller can support tissue rearward and shift it along the pelvis vertically. It allows residual stretch when a stronger correction would pull the glutes inward. VaM continues to handle collisions. Each reference is stored in square meters at person scale 1 and scales quadratically with person size. No reference photos or character assets are required.

Seat contact
The Custom UI displays a separate seat response for each side. This is a filtered response intensity from 0 to 100%, not a body-weight measurement. Native contacts on the glute and proximal thigh contribute when an external surface pushes upward below the pelvis. Thigh orientation helps weight contact; a squat in midair produces no seat response. A vertical wall can still compress skin through VaM's normal collision physics.

Under load, the plugin reduces area correction on the compressed cheek and lets the contacted joints move inward. It estimates the displaced volume and uses the area of the free outer rim to set lateral spread along the contact plane. Each cheek responds independently. Rear and side presses can produce compression without activating the seat response. The response fades after contact ends. Apply area forces switches off this assistance while leaving the readings visible.

Contact spread and surface waves
Contact spread defaults to 0.25 and adjusts the local bulge around a loaded patch. The plugin estimates indentation from the posed skin, collision planes, and upper-thigh proxy travel. Rigid proxies also contribute a bounded estimate based on contact force. The displayed displaced tissue value integrates estimated depth over sampled skin area. It is a simulation estimate in mL.

Render skin ripples switches the animated skin highlights on or off and releases their render textures when switched off. The soft-joint wave, compression, and lateral spread continue. On supported graphics backends the first ripple samples the skin normal-map format asynchronously.

Contact waves controls the brief ripple from a direct tap on the rear or outer cheek. The ripple starts at the closest posed cheek sample. Upper and lower rim taps can arrive through the pelvis or upper-thigh collider when the hit is within 2.2 cm of the cheek at unit character scale. The inner cleft, groin, and front edge are excluded. Seat and thigh contacts still drive the separate compression and spread response.

Wave sensitivity sets how easily a rise in inward contact speed excites a ripple. The default is 1. At 2 the trigger thresholds are halved. A harder normal impact produces a larger wave, using collision impulse per physics step. The response tapers at high forces. Contact waves scales the resulting motion and shading. Skin highlights refresh at the selected update rate during a pulse, limited by the render frame rate. A second push can create another wave while contact continues. Steady pressure, tangential motion and release contribute no inward acceleration by themselves. A short 105 ms interval coalesces signals from neighbouring soft joints. Thigh ripple reach (cm) extends the skin highlight from the struck cheek across the crease and down the rear thigh. The default is 16 cm and the range is 0–22 cm from the crease on the base figure. The wave fades with distance, so a lighter tap may disappear sooner. Setting reach to zero uses the hip-only renderer. The extension shares the hip pulse and adds no thigh solver, collision sensors, or forces. At character scale 1 the crests are about 4.3 cm apart. Set Contact waves to zero to disable both the transient force and its skin shading.

The plugin estimates a contact footprint from posed skin triangles near the contacting collider. Sphere, capsule, box and convex mesh colliders use closest-surface queries. Other collider types use the nearby collision manifold samples. The source is summarized as an oriented ellipse. The skin ripple travels outward from its rim and native soft joints share the initial motion across its interior. The dimensions are a simulation estimate at the moment the wave starts.
