Author Topic: "Use object local axis" option  (Read 1170 times)

2023-10-14, 01:58:50

Basshunter

  • Active Users
  • **
  • Posts: 279
    • View Profile
It seems impossible to make objects rotate on it's local Z axis ONCE they've been rotated on X or Y axis FIRST.

It would be helpful to have an "Use object local axis" option for both "Translation" and "Rotation".


My Goal:


Scatter Step 01:


Scatter Step 02:


Scatter Step 03:

2023-10-14, 10:37:41
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8854
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Scatter actually does use local axis for rotation. The "problem" is in order of performing rotational calculations. The current axis order is XYZ and most of the time it works just fine, but for some specific tasks the user needs to be able to chose different axis order. In your case either ZXY, or ZYX would work much better. I have requested this on different channel some time ago and it seems my request was acknowledged by the team. No idea when, or if that will be implemented though, but i will use your topic as an opportunity to express my wish for this feature again.

+1!
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2023-11-19, 21:23:00
Reply #2

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 561
    • View Profile
Aside from Chaos Scatter, the array modifier since Max 2024 has had very good features and can even be more handy, specifically in spline scattering (e.g. spline projection over a surface and others).
As I understand, what you want to achieve is quite straightforwardly achievable with 3ds Max Array modifier (not the Array tool).
Feel free to give it a try.
Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us

2023-11-19, 21:33:24
Reply #3

dreamersdj

  • Active Users
  • **
  • Posts: 6
  • Lo que imagines te lo hago...
    • View Profile
    • Radart
Aside from Chaos Scatter, the array modifier since Max 2024 has had very good features and can even be more handy, specifically in spline scattering (e.g. spline projection over a surface and others).
As I understand, what you want to achieve is quite straightforwardly achievable with 3ds Max Array modifier (not the Array tool).
Feel free to give it a try.

Not a good idea if the objects to be scattered are hundreds of plants. This is something we do a lot in our studio.

2023-11-20, 09:02:15
Reply #4

Aram Avetisyan

  • Corona Team
  • Active Users
  • ****
  • Posts: 561
    • View Profile
Aside from Chaos Scatter, the array modifier since Max 2024 has had very good features and can even be more handy, specifically in spline scattering (e.g. spline projection over a surface and others).
As I understand, what you want to achieve is quite straightforwardly achievable with 3ds Max Array modifier (not the Array tool).
Feel free to give it a try.

Not a good idea if the objects to be scattered are hundreds of plants. This is something we do a lot in our studio.

The workaround was provided specifically for the case originally posted.
And apparently the "system" is the same for different scattering tools/plugins, so array won't help much - to achieve a rotation along specific axis in local transform, there should be a separate control for it. In short, when the instance is rotated in any axis, its local pivot is not affected, so the further rotation would respect it (and this is intended and by design). The transformations always happen based on the "orientation" of the originally generated point, on which the instances are placed. It can maybe be handy to have a separate control for local transformations, maybe in the form of "Respect/Keep X | Y | Z" checkboxes. Order of rotation won't help here, the coordinate system should be changed.

But what Basshunter is trying to achieve can be done in a arguably more intuitive way - the rotation on X can be handled differently, by generating a surface and a normal, so Scatter only takes care of Z rotation randomization. Of course this method will need to use UV mapping (with or without Real world scale) and there is no straightforward control over the distance between the instances. Nevertheless, maybe this workaround can be useful - there is simple sweep modifier on the original spline, with a straight line as profile, which controls the inclination, aka X rotation.

Aram Avetisyan | chaos-corona.com
Chaos Corona Support Representative | contact us