Game Development Community

phi / theta values in particleEmitters

by Paul Scott · in Torque Game Engine · 10/27/2002 (1:16 am) · 2 replies

what exactly do the phi & theta values do in the particle system? I was under the impression that they affect the distribution of particles. I've set them to every combination I can think of, but still I cannot get the particle distrubution to change.
The fool thing always comes out as a half sphere ( ignoring velocity variance ).
I see the engine code where the values are used, and it looks like they should have a sizable effect, but I'm just not seeing any changes.

Enlighten me?

#1
10/27/2002 (6:57 am)
check out the particle engine script

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3213

that may help
#2
10/27/2002 (3:18 pm)
Phi values effect the distribution on the plane perpendicular (imagine horizontal here) to the "up" vector.

Theta (0 = top, 180 = bottom) effect distrubution on the plane parallel to the up vector (up/down in the emitter's frame of reference).