Itoo Software Forum

Author Topic: Local transform for railclone segments  (Read 3359 times)

romullus

  • Newbie
  • *
  • Posts: 3
Local transform for railclone segments
« on: June 20, 2015, 12:43:48 PM »
Hi there,

i was wondering if there's possibility to apply segments transform in local space rather than in parent space like it is by default?

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Local transform for railclone segments
« Reply #1 on: June 20, 2015, 01:53:18 PM »
Hi, really segments are transformed in their local space, taking as origin the point defined by the Alignment parameters. Once transformed, they are aligned and fitted in the base spline.

What do you want to get exactly ?
Carlos Quintero
iToo Software

romullus

  • Newbie
  • *
  • Posts: 3
Re: Local transform for railclone segments
« Reply #2 on: June 20, 2015, 03:54:31 PM »
Thanks for reply. I'm making chainmail. And i want that each chain link would be randomly rotated in local Z axis, but instead they are rotated in railclone object's space. I hope the problem i'm facing can be seen clear enough in attached images.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Local transform for railclone segments
« Reply #3 on: June 22, 2015, 10:18:31 AM »
Ok, i see the problem. I assume you are applying a fixed Y rotation, and then random rotation on Z. Please, try this:

1) Set to 0 all Fixed rotations.
2) Set Y rotation using random parameters with a fixed range. I.e. from 45º to 45º.
3) Set random Z rotation as usual.
4) Be sure Segment->Transform->Random->Transfom affects size is off.
5) Set Segment->Alignment to Pivot.

Carlos Quintero
iToo Software

romullus

  • Newbie
  • *
  • Posts: 3
Re: Local transform for railclone segments
« Reply #4 on: June 22, 2015, 09:16:24 PM »
Such a simple solution and it worked! Thank you very much!