|
Junglejim Jonson
Registered User
Join date: 4 Feb 2008
Posts: 52
|
02-22-2009 07:01
I want to have particles appear over a certain speed i have the particle script - usual one but when i say move faster then say 3 m/s the particle triggers then when i stop or slow below that the particles stop  so the script has to detect velocity and know how fast it is going to do this maybe with a timer event
|
|
Cypher Ragu
[Mad Scientist]
Join date: 6 Jul 2008
Posts: 174
|
02-22-2009 10:35
Try this:
list ParticleParams = [] //Put your particle data in this list
default { state_entry() { llSetTimerEvent(1.0); }
timer() { if (llVecMag(llGetVel()) > 3.0) { llParticleSystem(ParticleParams) } else { llParticleSystem([]); } } }
_____________________
Life is a highway... And I just missed my exit.
|