tyFlow Forum
The problem with the 'Rotation' operator - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: Bugs and Issues (https://forum.tyflow.com/forum-3.html)
+--- Thread: The problem with the 'Rotation' operator (/thread-3890.html)



The problem with the 'Rotation' operator - cgdvs - 09-20-2023

Hi,Tyson!



When I cancel the 'Effect particles shape orientation' option of the 'Rotation' operator, the entire animation will be much slower. I can clearly feel it
This is just a test file, and in a real project, the number is much larger than it is now. Even after caching, it is still quite sluggish. If this option is not activated, caching is very fast
Why do I suspect this is a bug, because the 'Rotation' operator effect only affects once. However, the lag is persistent
I'm not sure if this must belong to BUG. Please check. Thank you


RE: The problem with the 'Rotation' operator - tyFlow - 09-20-2023

Hi cgdvs,

It's not a bug - when you uncheck that setting, all affected particles are converted into unique meshes, in order to properly orient their mesh to match your Rotation settings. In other words, when you disable that setting, instancing is no longer possible...this will cause slowdowns if you have a lot of particles.


RE: The problem with the 'Rotation' operator - cgdvs - 09-20-2023

(09-20-2023, 01:21 AM)tyFlow Wrote: Hi cgdvs,

It's not a bug - when you uncheck that setting, all affected particles are converted into unique meshes, in order to properly orient their mesh to match your Rotation settings. In other words, when you disable that setting, instancing is no longer possible...this will cause slowdowns if you have a lot of particles.

Oh, I see. Thank you for your explanation

There is a problem, as in the case study. I want to make the direction of the grass more random, so I must use "Random horizontal". At this point, I need to create a rotation animation for the particles based on the "world X-axis direction". At this point, the rotation is "local coordinates". This is why I want to cancel this option. Is there a way to reset the coordinates of the particles? What I mean is to keep the previously chaotic coordinates unified again. Of course, the shape and direction of the particles cannot be changed. Can this be achieved?

If you don't understand what I mean, please take a look at the picture

forum upload failed. I will send the image here:
https://scontent-tpe1-1.xx.fbcdn.net/v/t39.30808-6/381123140_1544469636369587_8690601888978501283_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=49d041&_nc_ohc=JxQBr_9Eq3MAX8Qz6Ka&_nc_ht=scontent-tpe1-1.xx&oh=00_AfDEao1H1X0v8d9OOPlUIee4ARpM15k5BvRcyPIdgJEHlw&oe=650F45A3


RE: The problem with the 'Rotation' operator - tyFlow - 09-20-2023

You can parent your grass to other particles with Set Target...rotate the grass but do not rotate the parents...then assign the animation to the parent particles...the child (grass) particles will follow, along with their rotation offset.


RE: The problem with the 'Rotation' operator - cgdvs - 09-20-2023

Okay, that's a good idea. I will test according to the method you provided. Thank you again

(09-20-2023, 01:38 AM)tyFlow Wrote: You can parent your grass to other particles with Set Target...rotate the grass but do not rotate the parents...then assign the animation to the parent particles...the child (grass) particles will follow, along with their rotation offset.

I tested successfully and your method is very good. Thank you