Itoo Software Forum

Author Topic: Individual Segment rotation within compose  (Read 252 times)

rob-bs

  • Newbie
  • *
  • Posts: 9
Individual Segment rotation within compose
« on: March 01, 2024, 10:56:25 PM »
Hello!

Please forgive me if this has been asked before - I searched and found a few forum posts from like 7 years ago about a similar topic, but the help docs don't address the specific issue I'm having. Also, apologies if this is a trivial thing.

Using Railclone V 6.1.6 & Max 2024

I am trying to create a simple compound object with RC, where one segment ideally has some randomized rotation values. Segment A is a mounting arm for a box, Segment B is the box. I want to transform Segment B to align it to the right place on the mounting arm, and then randomly rotate it around its own Y axis.

I'm using a Compose operator to combine the two objects (pivots are aligned properly), and that compose operator is wired into the "evenly" plug on a 1S array.

Segment A is fixed, and Segment B is the segment that I want to be rotated randomly.

The problem is that if I use the "random rotation" transform values in the "B" segment, the rotation happens around the "averaged" pivot point of the Compose operator. I need that segment to randomly rotate around its own pivot point and THEN be used in the Compose.

If I use a "fixed" rotation value, the segment is placed correctly within the compose operator. But random rotations affect the pivot point of the compose.

I've also tried using a Transform operator after the segment and doing the transforms in there, but no luck - same problem.

Is this expected behavior? Can someone point me in the right direction in order to randomly rotate the second object around its own pivot point without affecting the alignment of the compose? Thanks!

Attachments show V1 with fixed rotation values for the second segment - all objects are rotated around their own pivot point. V2 shows "random" rotation values, and the object is now rotating around the compose pivot point.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2477
Re: Individual Segment rotation within compose
« Reply #1 on: March 04, 2024, 10:05:40 AM »
Hi,

Please find attached a sample scene (240304_randomRotation_iToo.max) with a possible workflow using exported Fixed Rotation parameters linked to Random parameters (instead of using the Transform > Random > Rotation settings). I hope that helps.

Best regards,

rob-bs

  • Newbie
  • *
  • Posts: 9
Re: Individual Segment rotation within compose
« Reply #2 on: March 04, 2024, 04:31:02 PM »
Hi,

Please find attached a sample scene (240304_randomRotation_iToo.max) with a possible workflow using exported Fixed Rotation parameters linked to Random parameters (instead of using the Transform > Random > Rotation settings). I hope that helps.

Best regards,

Great! That is a good work-around. Thank you.

But can you answer my question: is the original behavior I described intentional/deliberate? Or is the compose operator handling segment random rotation incorrectly?

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2477
Re: Individual Segment rotation within compose
« Reply #3 on: March 05, 2024, 09:07:42 AM »
It's something we'll try to fix as soon as possible - it will need to be investigated by our main developers. In the meantime, using the mentioned workaround would be recommended. Thank you for your feedback.

Best regards,