PDA

View Full Version : Particle Max Speed?


tinitus
09-11-2010, 02:19 AM
Is there a way to give the Particles a Max Speed Value, which they can reach and than stop accelerate!?

thanx!

marcinm
09-11-2010, 11:22 AM
You can make something like that:


if (mag(velocity)>maxSpeed)
velocity = unit(velocity)*maxSpeed


where maxSpeed is custom attribute.

tinitus
09-11-2010, 01:16 PM
awesome!
works like a charm!
thanks a lot!

CGTalk Moderation
09-11-2010, 01:16 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.