mcjLagEffect

for DS 1,2,3,4

This script will copy the movements of a 'leader node' and apply them to a 'follower node'

but ... and this is important, with a delay.

in the example shown above, the leader node is Aiko's hip node

the skirt is an object parented to Aiko's hip node ( free!, created by me, see conedress1536ruffled.obj in the attachments )

the follower node is a D-Form influencing the skirt

as you can see below, the D-Form is positioned at the bottom of the skirt

so the influence is maximum at the bottom and nil at the waist line

After using mcjLagEffect, when the hips twist, the D-Form (and the skirt) also twists, but ... a few frames later.

History

Version 4 (current) April 21st 2017 - Added loopability, added saved program state, added webHelp button, Only the version for DS3 and DS4 was upgraded

Version 3 Jun 1, 2010, 3:49 PM

Version 2 May 31, 2010, 5:25 PM

Version 1 May 31, 2010, 5:07 PM

Installation

download the zip file in the attachments at the bottom of this page

unzip it in Daz Studio's content folder

typically C:\Program Files\DAZ\Studio\content

the script and the corresponding icon will be placed

in the scripts/mcasual folder

so you can find it in the Daz Studio content tab

in the Studio / Scripts / mcasual folder

there's also a zip file containing the manual

which is simply a copy of the page you are reading

Use

Example,

we have a stretched cube which is the parent of a 'Null' which is the parent of a cone

the null is below the cube and at the tip of the cone.

Select the 'follower' node

in our example, the Null node

by default, the leader node is the immediate parent of the follower node, in our example, that's the stretched cube.

if you want a different leader node, press and hold you keyboard's CTRL key while selecting the desired leader node.

launch mcjLagEffect

Here is mcjLagEffect's user interface

1 - select the range of frames to be processed and the keyframe step

If you want to reduce the number of keyframes created you can set the "step" value to, for example, 5.

The movement reproduction will be less faithful, but the load on the daz scene will be lighter.

2 - select what part of the movement will be replicated

in the case of the skirt, we only replicated the "orientation", meaning the twists and sways and tilts

3- enter the desired delay/lag

by default the follower will lag the leader's movements by 5 frames,

at 30 frames per second, this means 1/6 second

4 - click the [ Do it ] button

processing should take less than a second

here's the Orientation-only lag effect

Here is the position-only lag effect

Here is the position-and-orientation lag effect

License

// =====================================================================

// by mCasual/Jacques

// You can use this script freely for personal or commercial use.

// You may not sell, resell, sub-license or rent this script in any way.

// you may credit this script to mCasual/Jacques

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,

// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES

// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND

// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT

// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,

// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR

// OTHER DEALINGS IN THE SOFTWARE.

// =====================================================================