Jump to content

particles rotation problem


blackchicken

Recommended Posts

the copy SOP is using "v" attribute to orient copies

that's why they rotate when they start moving

in rotation POP you can put your expression to Angle param and to axis Y just 1

but it would result in all feathers rotating around Y the same speed

you can use Angular Velocity POP for more controled rotation behavior, like according to speed you can increase angular velocity too

with some randomization on axis, or whatever you want

no matter what you use to rotate particles, you'll get "rot" attribute which is like relative offset to "v" for copy sop, so it won't help you much

but you can rename it to "orient" after POP network to get stable orientation of copies

look at the example

you can also just delete/rename "v" and "N" attributes if present

then "rot" will behave as expected

but you maybe need "v" for motion blur so the first solution is better i think

feather_02_fix.hip

Link to comment
Share on other sites

the copy SOP is using "v" attribute to orient copies

that's why they rotate when they start moving

in rotation POP you can put your expression to Angle param and to axis Y just 1

but it would result in all feathers rotating around Y the same speed

you can use Angular Velocity POP for more controled rotation behavior, like according to speed you can increase angular velocity too

with some randomization on axis, or whatever you want

no matter what you use to rotate particles, you'll get "rot" attribute which is like relative offset to "v" for copy sop, so it won't help you much

but you can rename it to "orient" after POP network to get stable orientation of copies

look at the example

you can also just delete/rename "v" and "N" attributes if present

then "rot" will behave as expected

but you maybe need "v" for motion blur so the first solution is better i think

Thanks for this information and for the file, with that I´ve learned more about the rotation too but I got a little confused about the orient attribute, I tried to look for the manual to see the difference between the orient and the rot attribute but I didn't find anything the could clear this, can you?

thanks

Link to comment
Share on other sites

according to my experience it seems that:

"rot" acts like offset from rotation computed from "v" or "N" and "up" or "orient"

if "orient" is present, "v", "N", "up" are ignored and "orient" sets the whole rotation

if "orient" and "rot" are both present then "orient" sets the base rotation and "rot" acts like offset on top

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...