Notifications
Clear all

[Closed] scaling nodes

Does anyone know the best way to achieve scaling a teapot…

the teapot is located at [0,0,0]

but I wanted to scale it based on another matrix within the scene. Once which may be located at say [50,10,5]

5 Replies
$Teapot01.scale = $Teapot02.transform.scale

Scale, but it would scale towards that position. Check the picture. It will make more sense. But I don’t want to change the nodes pivot and then scale it. I was wondering if there was another way of doing this. Like


in coordsys (virtual pivot) scale teapot

does it ? :surprised doesn’t here even if the other node is scaled about the origin or any other random point.

about obj.center scale obj scaleValue

Thank you. I found this


-- rotate all the boxes 30 degrees about the y_axis of $foo

about $foo rotate $box* 30 y_axis

-- rotate each planet 45 degrees around its parent

in coordsys parent about coordsys rotate $planets* 45 z_axis