Hi all!
How do I get the vertical position in space of a falling rigid body object? For some reason the “translate x” position doesn't update if an object is a rigid body. Help anyone?
Thanks!
Vertical position of a falling Rigid Body Object....
7646 13 3- amazingjay
- Member
- 56 posts
- Joined: Dec. 2009
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
- amazingjay
- Member
- 56 posts
- Joined: Dec. 2009
- Offline
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
DOPs doesn't update the actual object's translate parameter. It's the DOP Import SOP that fetches the simulation results from the DOP network and applies it directly to the geometry.
There are several ways to get at the actual animation values for the RBD object in the simulation.
1) You can use the Dynamics CHOP to fetch the simulation results. Follow the Dynamics CHOP with a Delete CHOP to isolate the *:t?, *=p? and *:r? or translate, rotate and pivot channels.
2) You can fetch the channels directly with the dopfield() expression like this:
dopfield(“/obj/AutoDopNetwork”, “box_object1”, “Position”, “Options”, 0, “tx”)
dopfield(“/obj/AutoDopNetwork”, “box_object1”, “Position”, “Options”, 0, “ty”)
dopfield(“/obj/AutoDopNetwork”, “box_object1”, “Position”, “Options”, 0, “tz”)
There are several ways to get at the actual animation values for the RBD object in the simulation.
1) You can use the Dynamics CHOP to fetch the simulation results. Follow the Dynamics CHOP with a Delete CHOP to isolate the *:t?, *=p? and *:r? or translate, rotate and pivot channels.
2) You can fetch the channels directly with the dopfield() expression like this:
dopfield(“/obj/AutoDopNetwork”, “box_object1”, “Position”, “Options”, 0, “tx”)
dopfield(“/obj/AutoDopNetwork”, “box_object1”, “Position”, “Options”, 0, “ty”)
dopfield(“/obj/AutoDopNetwork”, “box_object1”, “Position”, “Options”, 0, “tz”)
There's at least one school like the old school!
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- amazingjay
- Member
- 56 posts
- Joined: Dec. 2009
- Offline
- rafaels
- Member
- 696 posts
- Joined: March 2009
- Offline
here it is. There's quite some material on chops at SESI's website.
Cheers
Cheers
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- amazingjay
- Member
- 56 posts
- Joined: Dec. 2009
- Offline
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- amazingjay
- Member
- 56 posts
- Joined: Dec. 2009
- Offline
- rafaels
- Member
- 696 posts
- Joined: March 2009
- Offline
You can import and export multiple channels at once but if you're exporting to, say, the translateY of another geo it won't be of much help, since as I understand only the first channel would be used.
Another way of doing things would be either using the channel SOP, or the chop() expression function.
Another way of doing things would be either using the channel SOP, or the chop() expression function.
Toronto - ON
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
My Houdini playground [renderfarm.tumblr.com]
“As technology advances, the rendering time remains constant.”
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
- amazingjay
- Member
- 56 posts
- Joined: Dec. 2009
- Offline
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
-
- Quick Links