Jump to content

I have a snow particle script, but how do I confine the snow to an area e.g 'inside' a jar?


Bedlam Ansome
 Share

You are about to reply to a thread that has been inactive for 2700 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi Bedlam,

Particles do not interact with other objects, and so they cannot be "confined" by them. You can set their emission pattern, direction, velocity, acceleration, and lifetime. By a combination of those you can achieve some sort of control over the space they'll occupy. It is possible to achieve realistic looking contained snowstorms, I've done it in snowglobes.

You can learn more about particles at the Particle Laboratory...

http://maps.secondlife.com/secondlife/Teal/180/74/21

And you can read more about the llParticleSystem call here...

http://wiki.secondlife.com/wiki/LlParticleSystem

 

Link to comment
Share on other sites

another tip is to play with the angle end and begin and use the angle patterns. Set it to something like 2.5 on begin, and 3.14 (PI) on end, and also use the flag BOUNCE_MASK. When the snow falls to the same Z level as the emitter, it will bounce upwards. getting the timing and fading right can make that bounce less noticeable

Also for anyone who cares and/or didn't know. I was playing with particles and saw some peculiar behaviour with the BOUNCE_MASK.



Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2700 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...