Jump to content

Aniamtion Setup Help


zoki

Recommended Posts

Hi

here is one file what I would like to do is conect pump handle and bar so they move together-I copied parameter but I can tweak the distance

scroll through playbar and you will see whats the problem

I took a look at the file and you're pretty much there... right now you're referencing the Z rotation of the handle directly and sticking it into the Y translation of the "PumpBar". So you're handle is rotating to 40 degrees and it's sending the PumpBar down 40 units. There's a couple of ways you could change the distance range in the expression: either multiply the expression by a fractional amount and add an offset value to get that PumpBar into the right spot, or (much better) you could wrap your expression in a fit() function, try them both:

for null2's Y translation:

1.78-(.004*ch("../null1/rz"))

or:

fit(ch("../null1/rz"),0,40,1.78,1.62)

Do an "exhelp fit" in the textport for an explanation of the fit() expression... hope this helps!

-JS-

p.s.-if you're doing this for a class assignment then I'm telling your teacher :P

Link to comment
Share on other sites

thanks very much exel :D

it is working!

btw its not for school assigment -I will probably have it for my reel though

I was looking to fit function yesterday for some other example from Houdini dvd but I just didnt see both examples as related

anyway tahnks again

zoran

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