This script for Daz Studio 1, 2, 3, 4 lets you perform actions on the selected nodes over a range of frames
Select one or many nodes to process
Select the action to apply and the range of frames to apply it to.
You should be familiar with the "Dz" actions
there's also mcj actions which require 2 nodes to be selected, a "Target" node and one or many nodes that will compy some of the Target's behavior
Move Below Target
Select the node that will act as the ceiling,
select the node you want to move, we will call it the M node
in the "select the target node" section, select the ceiling node
Click the "do it" button
For each frame of the specified time range,
the M node will move up or down just the right amount
to bring the top of its bounding box right below the bottom of the ceiling's bounding box
In the example below, i selected the boots toe node as the ceiling and i selected the floor/plane as the M node
and the floor moved precisely below the boot's toe
Move AboveTarget
Select the node that will act as the floor,
select the node you want to move, we will call it the M node
in the "select the target node" section, select the floor node
Click the "do it" button
For each frame of the specified time range,
the M node will move up or down just the right amount
to bring the bottom of its bounding box right above the top of the floor's bounding box
In the example below, Amy was parented to a small yellow plane,
i selected the blue cone as the floor/target node
i selected the small yellow plane as the M node
and the plane moved precisely above the cone
WorldPos like target
The world position is the position of a node in the scene.
This is very useful when you want an object A to act as if it was attached to another object B
without actually parenting it to object B.
A concrete example: we want Amy's finger tip to push the puck
before the finger touches the puck and after it stops touching it, evidently, the finger has no influence on the puck.
so we cant simply parent the puck to the finger.
At frame 15, we set the scene so the finger tip touches the puck
we create 2 null nodes, we place them at the position of the contact point
we parent the puck to one null node, we parent the other null node to Amy's finger tip
i keyframe everything at frame 15:
- select the puck, the 2 null nodes and click the timeline's "add key" button
- select Amy, Figure/Pose/Memorize then Figure/Pose/Restore
i build the rest of the animation
frames 0 to 14, the finger advances toward the puck
frames 15 to 20 the finger moves forth
frames 21 to 30 the finger pulls back
i select the finger's Null node, i select the puck's null node
i start mcjRepeat Action
i specify the IndexNull as the target ( what will be followed ) and the puckNull will be the follower
i want the WorldPos like target action to be repeated from frame 15 to 20
i click the 'do it' button
and there you have it !
click on the image to view the animation
World Rot like target
World Rotations means the way something is oriented in relation to the scene
this is different from local rotation, for example the X.Y,Z rotations you can see in a foreArm bone's Parameters Panel
lets use this to copy the arm movements from one figure to another
we must start up the hierarchy chain of the arm, the collar
- select Aiko's shoulder,
- select Hiro's shoulder
- specify the Aiko's shoulder as the target ( what will be followed ) and the Hiro's shoulder will be the follower
- specify you want the whole animation time range to be processed ( frames 0 to 30 )
- click the 'do it' button
This manual is incomplete ... to be continued
Click on the image to view the animation
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.
//===================================================================.