Scripting Animation
lmoroney
Posts: 41
Can I write scripts in Daz to animate multiple objects, instead of me having to manipulate each on the timeline?
If so, is there a good tutorial for this?
(I.E. I create 50 spaceships in a scene, and I want them all to move across the scene -- is it possible to write a for-loop to change their X-position over time, or something like that)
Laurence
Comments
yes you could write a script or you can put your rendered scene on a plane and move the plane
so it looks like the ships are moving .
Where can I find tutorials on how to write such scripts? Thanks...
If you want them to move together just parent most of them to a single example and move that, or parent them all to a new Null and move that. If you want them to move relative to each other set up the motions for individual ships, or small groups, and save Pose Presets for each to apply to the ships in the complete scene.
Thanks...but that's not what I'm looking for here. What I would love to see is the use of the scripting language to do something like:
foreach(frame f in frames)
{
foreach(object o in f)
{
o.x+=something;
o.y+=something;
}
}
So in that way I can programatically set animations, instead of trying to do it manually...
Are there any docs around this?
http://www.daz3d.com/forums/categories/60/