point velocity in DOP

   8306   7   0
User Avatar
Member
856 posts
Joined: Oct. 2008
Offline
I have a RBD point object and I am trying to set the initial velocity with a sop attribute.

I made a vector attribute called usevel and gave it a y component of 11.

If I check the detail pane in the DOP network I can see that usevel is indeed set to but it does not have an effect.

If I set the velocity of the initial state manually (in DOP) then it works.

Why then does it not use my attribute supplied value?

Attachments:
usevel.hipnc (107.0 KB)

--
Jobless
User Avatar
Member
575 posts
Joined: Nov. 2005
Offline
just use v as attribute name and they get the desired velocity
User Avatar
Member
856 posts
Joined: Oct. 2008
Offline
OK. cool, thanks!

(but why didn't my method work?)
--
Jobless
User Avatar
Member
1145 posts
Joined: July 2005
Offline
For you method, since you are importing the value from sops, I believe Dops reads only the 1st frame of information unless you “Set Always” so that the sop data is read per frame.
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
575 posts
Joined: Nov. 2005
Offline
mh, I must be blind, but I can not see that there is any node that tells houdini what to do with usevel. is it a special attribute?
usevel is the name of the integer attribute that decides where to get the velocity from, but I think You can not drive it from by pointattributes
User Avatar
Member
856 posts
Joined: Oct. 2008
Offline
Well, if you look in the details pane of the dops network it sets the usevel value to the one you enter in the initial veocity, and uses that velocity. If I set it from an attribute in sops it displays the value correctly but doesn't use it. And hovering above the parameter gives the name usevel.

Soo….I dunno. I'm just trying to understand how the dops *think* but it makes little sense to me. :shock:
--
Jobless
User Avatar
Member
856 posts
Joined: Oct. 2008
Offline
here are screenshots

Attachments:
usevel.jpg (18.0 KB)
usepara.jpg (16.5 KB)

--
Jobless
User Avatar
Member
575 posts
Joined: Nov. 2005
Offline
1. this vector only exists, because You tell the dopobject to copy all parameters, so they are copied onto the object, but houdini can not use it.

2. usevel is another parameter that only tells houdini where to get the velocity from. click on the edit parameter button on the object and see, that there are 2 independent parameters, integer usevel and vector v.

cheers
Martin
  • Quick Links