cwalrus Posted December 17, 2015 Share Posted December 17, 2015 (edited) 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 December 17, 2015 by cwalrus Quote Link to comment Share on other sites More sharing options...
Sean Posted December 19, 2015 Share Posted December 19, 2015 (edited) You could use the point() expression to reference a point that has the normal direction that you want and add this is into the velocity attribute. Edited December 19, 2015 by Sean Quote Link to comment Share on other sites More sharing options...
woodenduck Posted December 19, 2015 Share Posted December 19, 2015 (edited) Here's one example. fizz.hip Edited December 19, 2015 by woodenduck Quote Link to comment Share on other sites More sharing options...
cwalrus Posted December 19, 2015 Author Share Posted December 19, 2015 hmmm. Not seeing anything there.... Quote Link to comment Share on other sites More sharing options...
woodenduck Posted December 19, 2015 Share Posted December 19, 2015 Try now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.