Game Development Reference
In-Depth Information
Creating particle effects
Creating a particle system is similar to creating a mesh within the sandbox. The particle's
name is the Ogre3D
particle_system
name that is specific in a
.particle
file:
Note
The sandbox has a few predefined particle systems located within the
media/particle
folder.
The
CreateParticle
function requires attaching the particle to some type of sandbox
object to provide position and rotation information on where to play the particle.
local particle = Core.CreateParticle(sandboxObject,
particleName);