Jump to content

VopPop getparameter,setparameter "rot"


Doum

Recommended Posts

Hey,

I'm trying to getparameter rot of my particles, modify it and set it back. What's the way to output that kind of value from the voppop. I'm trying to use another parameter node, but it doesn't seem to work.

thanks

Link to comment
Share on other sites

thanks guys, it's working!

What I'm trying to achieve is more complicated and I'm a bit stuck there. I Have a bunch of lances picking in the ground and I want to had a vibration effect. At the moment they are touching the ground and I start a Timer to multiply the angle of my rot for 2 sec. Is there a way to create a ease out in an expression ?

Here is the expression I multiply my rotangle with: fit01(2-($HITTIMER/2),0,1)

RotationBasic.hipnc

Edited by Doum
Link to comment
Share on other sites

fit01(x, 0, 1) doesn't make much sense and behaves like clamp(x, 0, 1), if you want to fit 2 sec of your timer to 0, 1 you can do fit($HITTIMER, 0, 2, 0, 1)

to ease in or out you can use pow() function

for easing in and out there is smooth() function

for your case try something like

pow(fit($HITTIMER,0,3,1,0), 2)[/CODE]

RotationBasic_fix.hipnc

Link to comment
Share on other sites

Thanks it's working!

I was using a "float to vector4" to modify my rot attribute. It was updating the rot attributes in the display view, but my particle wasn't rotating. I have changed the "float to vector4" for a Quaternion node and it's working.

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...