Form and Space

creating CG 3D since 2001

  • Connect @
  • Linked in
  • Vimeo
  • Twitter

Inherited Transformation

Matthew | November 17, 2011

No Comments

Here’s a simple script for creating a long chain of parented objects.

Create a bunch of cubes in one place, select then all in the viewport, and run this script. Marquee select them all again, and transform the objects to see the effect. This takes advantage of inherited transformation.


proc mls_inheretTransform()
    string $null[] = `ls -tr -sl`;

    int $n = size($null);

    for($i = 0; $i < $n; $i++){ 
        if($i != $n-1){
            parent $null[$i] $null[$i+1];
/************** end *********************/

Leave a Reply