How to get transforms from Fetch ?

   2703   3   0
User Avatar
Member
66 posts
Joined: Oct. 2008
Offline
Question is in the subj. I have an abject that has a path object and flows along that path object (curve). If i create Fetch i can view the fetched transforms of my object (that flows along my curve). But how could i get this transforms (via expression or some other approach)
User Avatar
Member
1922 posts
Joined: Nov. 2006
Offline
Take a look at the Object CHOP. You can also easily get at transform data using HOM.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
66 posts
Joined: Oct. 2008
Offline
Thank you, graham. Could you get a hint about HOM ? In the help i've read about obj.worldTransform() and obj.preTransform(), but what about fetched transform ?

Object CHOP is what i've needed
User Avatar
Member
201 posts
Joined: July 2005
Offline
morzh
Thank you, graham. Could you get a hint about HOM ? In the help i've read about obj.worldTransform() and obj.preTransform(), but what about fetched transform ?

Could you do something like:
print hou.node(“/obj/fetch1”).worldTransform()

And if you wanted only the tx you could do:
print hou.node(“/obj/fetch1”).worldTransform().extractTranslates()

HTH
Cheers,
Rob
Digital Supervisor | Stargate Studios Toronto
  • Quick Links