Jump to content

Recommended Posts

I created a gaslinearcombination node and set the Destination field as vel, and in the combine operation I set to multiply source1: friction and source2: vel.
friction is a custom scalar field created by me, with a 3D noise.
The gaslinearcombination doesn't work as expected.
On the other hand, a simple gasfieldwrangle with the following vex code: " v@vel *= f@friction; " does the trick.
Why isn't the gaslinearcombination working?

Edited by diogomgf

Share this post


Link to post
Share on other sites

my guess is that the order of operations here doesn't make sense: source1 is a scalar and source2 is a vector, and you can't multiply a scalar by a vector. you have to go the other way around.

Share this post


Link to post
Share on other sites
17 hours ago, toadstorm said:

my guess is that the order of operations here doesn't make sense: source1 is a scalar and source2 is a vector, and you can't multiply a scalar by a vector. you have to go the other way around.

Thank you =)
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×