08-09-2004 23:02
Particle systems using ANGLE or ANGLE_CONE are now broken. The particle system that's created is rotated around the X axis by the PSYS_SRC_OUTERANGLE angle.

Simple example:

CODE

llParticleSystem( [
PSYS_PART_FLAGS, 0
, PSYS_SRC_PATTERN, PSYS_SRC_PATTERN_ANGLE_CONE
, PSYS_PART_MAX_AGE, 1.0
, PSYS_SRC_INNERANGLE, 0.0
, PSYS_SRC_OUTERANGLE, PI/4
, PSYS_SRC_BURST_RATE, 0.1
, PSYS_SRC_BURST_PART_COUNT, 10
, PSYS_SRC_BURST_RADIUS, 1.0
, PSYS_SRC_BURST_SPEED_MIN, 1.0
, PSYS_SRC_BURST_SPEED_MAX, 1.0
] ) ;


This should create a cone pointing in the Z direction, with outer boundaries 45 degrees from Z in all directions.

When run, the cone that's emitted is bounded by the Z axis and the negative Y axis.

Other tests confirmed that one edge of the cone is always bounded by the Z axis - in other words, the cone is rotated around the X axis by the OUTERANGLE.

- Neo