Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Dragan on June 04, 2018, 09:41:53 AM

Title: Random Rotation
Post by: Dragan on June 04, 2018, 09:41:53 AM
Hi
I have new problem with random rotation.
1. Randomly rotate `light tubes` along Z/X axis - OK
2.  I have problem with "carrying straps". Cant make them to follow `Light tube`rotation and  force to stay vertical

any idea

Best regards
Dragan



 
Title: Re: Random Rotation
Post by: Rokas on June 04, 2018, 10:00:51 AM
Easiest solution- Your lamp should be one object:
(https://i.imgur.com/Vdpc5v5.jpg)

You can make it from RailClone as well and nest it in another RailClone, but it should be one object.
Title: Re: Random Rotation
Post by: Dragan on June 04, 2018, 10:13:01 AM
Yes I got that but Rotation along X is also random eg. 5 - 25 deg , then how to keep wires always vertical?
Title: Re: Random Rotation
Post by: Rokas on June 04, 2018, 10:57:23 AM
I attach my nested solution:
(https://i.imgur.com/doOwraf.jpg)
Title: Re: Random Rotation
Post by: Dragan on June 04, 2018, 11:36:52 AM
Thank You again Rokas, it is great solution.

I followed everything and all is clear but one operator. Can you please clarify why  Compose operator and Null segment?


Title: Re: Random Rotation
Post by: Rokas on June 04, 2018, 11:44:38 AM
Null stops Default segments from repeating. I have set it to x = 100cm
Once rotated it becomes shorter (in top projection in x direction), so it gets repeated. We kill it with null segment.
Title: Re: Random Rotation
Post by: Dragan on June 04, 2018, 12:10:29 PM
Ok. Got it. Thank You.