PDA

View Full Version : Constrain particles to only move in y?


Samizdat
09-15-2006, 04:08 PM
Hello,

I'm working with a soft body system that interacts with collision objects, fields, etc. The only trick is that I need to constrain the particles in the system so that they're only able to move in the Y axis.

I have a feeling that there's probably a simple expression for this, but I'm not sure of the best approach.

Thanks!

noxy
09-15-2006, 09:52 PM
how about a runtime expression like:

$vel = velocity;
particleShape1.velocity = <<$vel.x *0,$vel.y,$vel.z*0>>;

should move only in Y now, use a linstep or smoothstep to animate the effect on.

Noxy

CGTalk Moderation
09-15-2006, 09:52 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.