Adding terminal velocity
To add terminal velocity, we’ll have to compare our current velocity and stop changing the Z velocity of any point that is going too fast:
- To do this, let’s go back to the Calculate Velocity frame and add in a Compare node set to Greater Than.
- We will need to extract the Z value from our
velattribute. To do that, let’s add in a Separate XYZ node and connect the Z output to the A input of the Compare node. - In the B input, let’s enter
-1, because we don’t want our Points going under this-1threshold. Keep in mind that you are allowed to change this value. In this demo, we kept the value at-1because it looks closest to how terminal velocity works in real life. - Let’s connect the Attribute output of our Named Attribute node to the Vector input of our Separate XYZ node, and let’s also connect the Result output of our Compare node to the Selection input of our Store Named Attribute...