Jump to content

Shoot liquids out of bottle -


cwalrus

Recommended Posts

Hey there-

 

I have an animated champagne bottle squirting its liquid, and i'd love for the direction of the liquid to be right out of the bottle's mouth. 

 

Right now I have a flip animation squirting liquid up and right using a Velocity Impulse Force node with x=2 and y=2. It works nicely as a cheat, but I know there must be some way to get the Normal of an object pasted directly on the mouth of the bottle to direct this Velocity Impulse ... I just don't know the equation, or the workflow. 

 

For example:

 

if the Normal of one face on the bottle's mouth  = (NX, NY, NZ)

 

then I'd want to plug that into my Velocity Channels    ->    Velocity Impulse Change =  (NX, NY, NZ)

 

Does that make sense? 

 

 

I should add, the bottle is animated Geo, with an invisible sphere parented to the mouth serving as the emitter for the fluid. 

Edited by cwalrus
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...