The original gravity particle affector behaves in a weird way - the particles have constant speed when falling, which IMHO looks unnatural and ugly. I've written a small fix to make them accelerate over the time they're falling down, like they should according to physics:
< I removed the code because it doesn't really make any difference - see post below. Besides, I kinda messed it up with previous edit >
Alternate gravity affector
Alternate gravity affector
Last edited by Rush on Wed Dec 15, 2004 10:23 am, edited 2 times in total.
looks good
paerhaps there should be a variable in the ParticleGravityAffector class to specify what rate the particle should accelerate at.
paerhaps there should be a variable in the ParticleGravityAffector class to specify what rate the particle should accelerate at.
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars