|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
07-10-2006 10:36
Hello, I'm trying to make a particle script to use PSYS_PART_BOUNCE_MASK, but when I try to use it the particles stop. I can't find any settings for it other than to say "Particles bounce off of a plane at the object's Z height." Does anyone have further information about it, like some settings that might need to be used? Thank you
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
07-10-2006 11:37
Post your particlesystem code, ifyou can. It is probably some setting that needs to be made in addition so that the particles will generate.
|
|
Androclese Torgeson
I've got nothin'
Join date: 11 May 2004
Posts: 144
|
07-10-2006 12:02
From: Robin Peel Hello, I'm trying to make a particle script to use PSYS_PART_BOUNCE_MASK, but when I try to use it the particles stop. I can't find any settings for it other than to say "Particles bounce off of a plane at the object's Z height." Does anyone have further information about it, like some settings that might need to be used? Thank you First, go check out the particle Lab in-game. It is a great visual and textual resource for particles. I've been playing this game for 2 years now and I still go there to check how things work. As to your question, yes, that is the only function of that option. Any particle that is falling (rising?) will stop at the Z-Plane of the object and bounce in the opposite direction.
_____________________
Androclese Torgeson Real Life, also known as "that big room with the ceiling that is sometimes blue and sometimes black with little lights"
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
07-10-2006 16:03
It needs to be in the pair PSYS_PART_FLAGS, PSYS_PART_BOUNCE_MASK (and that will need to be bitwise ORed with any other flags you're using, if any).
The effect is to make it bounce off the local xy plane of the object - imagine a water jet, it will rise, fall and bounce off the ground - that's the sort of thing this is obviously useful for, although there are other uses too (I've got a butterfly generator for example that uses it so the butterflies never fly into the ground).
Making the particles freeze sounds a lot like you've messed up the code and it's not getting messages about minimum and/or maximum speed or similar to me.
|
|
Robin Peel
Registered User
Join date: 8 Feb 2005
Posts: 163
|
07-11-2006 02:40
Thank you all. I went back to try it again and its working now. I don't know what I did wrong before. Its a pretty neat effect. Thank you all.
|