Jump to content

How to control rotation in RBD sims?


Pancho

Recommended Posts

I managed in Softimage to achieve some results a few years back, but now in Houdini I wonder how to do this.

I guess there are several scenarios.

One would be to add a rotation force as soon as an explosion force (e.g. magnet force with negative values) is altering the packed geometry to make the flying pieces look more interesting. If they don't hit each other early in the explosion, they tend to fly in a rather linear manner without rotating around themselves.

Another purpose of controlling the rotation would be to have something like a goal rotation for the object. A force which tries to achieve a certain orientation if possible or align the particles in a certain manner to a collision or attration geometry.

Can anybody point me to some solutions? RBD and rotation only spits out one hit with the search engine.

Cheers

Tom

Link to comment
Share on other sites

You can import a w attribute the same way as a v attrib. This is angular velocity that you can set in sops how ever you want. You can modify it in a sop solver or use a torque node to add rotational force. You can also set the orient attrib to set the inital rotation on the objects.

Link to comment
Share on other sites

Mmmh. I took a look at the Torque Force, but it seems to be a pop force. As soon as I connect it to my Autodopnetwork I get an error message that it is the wrong kind of connection.

If I would set w on my packed primitives by using an attribute create, how would I use it as a force which initially give my object a spin and/or use it as an orientation force which the object wants to reach, something like the magnetforce for position?

Link to comment
Share on other sites

  • 1 year later...

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