Hi there,
I am working on my Office layout setup, and has run into a problem.
In order to have some reasonable variation in my layout, I have made a macro that handles the placement of each object related to a desktop seat - can be a chair, a monitor, a lamp and so on. The macro contains some transforms with random variation.
Let's take a chair - it should stand in various distances from the table (Y transform), and can have some variation sideways (X transform). At the same time it should have some rotational variation (Z rotation).
Following the new directions for nesting transforms in RC4 (DEMO: RailClone 4 - More Intuitive Transform Operator), the center rotation should be done first, and after this the various movements along the X and Y axis. I have put random variance (min/max) in this way, that I set the max with a numeric input and then invert it to get the min.
Now it just doesn't work. Despite I have nested the transforms in rotation -> movement - once the chair has some rotation, - the movement along the axis are strange - and vise versa.
I want the chair to move along the X and Y axis (in my book along (x) and perpendicular (y) to the path - and at the same time rotate around itself at the given position.
I have made a simplified testbench, that show the problem. Below you see the RC setup in the scene as well in the RC editor. Since it would take loads of screen dumps to show the problem, I have also attached the max file, so you can try to shift values - and thereby see the result.
Thanks