This video demonstrates use of MIX Controller in order to mix the effect of two independent curve controllers. Each of curve controllers is set to control the position of the box along a unique shape in two different dimensions. Incorporating both in one Mix controller approximate a surface which is result of translating one of the curves along the other one.
Did you know that you can produce L-systems with parametric array!
Here is some experience with parametric array of a single line. I have used getItem function to access the parent node using the method below.
Denominator (4) defines the number of branches per node. the script above returns the parent of the current object in L-system. Using this trick, you can adjust the start point of the line according to the end point of its parent. Of course the end point is just a transformation of the start point which defines the production rule of L-System. In new version of parametric array this will come as new controller and much more easy to implement on any type of object.
Use script controller to access objects properties outside of the array.
control the radius of cylinders in array according to their distance from a specific object.
How to use setTarget command Addressing properties of other objects from script controller.
Using getItem command the get the value of specific property of the current item.
Note1: setTarget function can return the value of the any propety of any object outside the array. setTarget object:object nameprop:property name
Note2: if you dont mention the index argument in getItem function it returns the value
of the property for the current item in the array. getItem prop:property name
How to control items along one direction using linear controller in a multi-dimensional array.
Reference: linear controller function takes the following arguments i:index value – index of item in X direction j:index value – index of item in Y direction K:index value – index of item in Z direction dim:dimensions in point3 format– defines the directions that linear controller will be applied on. for example [1,0,0] means only in x direction ,[0,1,1] means in Y and Z. Note1: if you don’t pass the i,j or kargument to the function it considers the current item indexes by default.
Note2: if you dont pass the dim argument to the function it considers all directions by default.