Jump to content

Little trouble with angvel


thinkinmonkey

Recommended Posts

Hello all,

just a simple question: how can I pass an angvel or rotation attribute to an RBD simulation like I do with velocity(v) at SOP level?

In the scene a simple cube is acting like a cannonball: in the SOP network I assigned it an attribute for velocity (v) <6, 8, 0> and checked the "Inherit Velocity from Point Velocity" parameter in RBD Object.

I'd like the cube spins when in the air, but assigning an angvel attribute doesn't seem to work.

Thanks in advance.

P.S. Well, yes! After a search, I discovered to use "v" instead of "vel" or "velocity" in order to have a working simulation, so I'd like to know if there's a table where every variables in Houdini is described.

applyingAngVel.hipnc

Link to comment
Share on other sites

Point velocity (v) itself is used to calculate the resulting angular velocity.

It works as expected. Not a bug. See the attached file.

Cheers,

I see your point, so if one wants to control angular velocity in SOP level they'll have to adjust the velocity vector to match a desired spin...

Link to comment
Share on other sites

Hi rafaelfs,

I'm using Houdini 11.1.118.

Why is it a bug for you? Did you find a different version/build of Houdini where the "angvel" attribute works as I wish? If so, please tell me which one.

Not that I found a version where it works, but that I tend to think that if you're feeding angular velocity the RBD sim should pick it up, rather than override it.

But I see the point of the current state of things, basically that attribute was designed for a pipeline where houdini would take point velocities baked in a geometry that came from another software, instead of getting it from point attributes created in SOP. I guess that if you want Houdini to pick it up then you'd have to create the appropriate expressions in the angular velocity parameters of the RBD object to pick up the SOP attributes.

cheers

Link to comment
Share on other sites

that's all?!?! :)

Yeh.. Apparently.

I guess its easy to mix experiences of other contexts in dops.

For example angular velocity (w) in pops is given by the axis and a rate of change in rotation over time + axis itself could be defined in 2 different forms. But with rbd state data its little straight forward.

Cheers,

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