Particle Anatomy - Emitters
粒子效果剖析--放射性
------------------------------
There is an invisible emitter at the center of every prim.
这是一个看不见的射线,在物元的中央
The emitter will point at the top of its prim by default, (or it will rotate after every burst of particles)
默认时指向物元的上方或者在爆裂开的粒子上后面旋转
How to turn an Emitter OFF:
关闭射线的方法
You must use llParticleSystem() to turn off an emitter.
必须使用这个函数
Simply deleting the particle script is not enough!
只是删除粒子脚本是不够的
The default setting for an emitter is off, so all you need
to do is send an empty list of to llParticleSystem(), like this:
默认�**乇盏模阅阈枰ド柚靡桓隹樟斜淼秸飧龊裾庋�
default {
state_entry() {
llParticleSystem( [ ] );
}
}
How to turn an Emitter ON:
如何打开
You must override the default setting for PATTERN to turn on an Emitter.
你必须替带默认值来打开射线
Pattern types are DROP滴落, ANGLE角, ANGLE_CONE 锥and EXPLODE.爆炸 For example, the absolute minimum you need to start creating particles is this script:
default {
state_entry() {
llParticleSystem( [
PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_EXPLODE
] );
}
}
