Language:
Page Info
Tags:
Engine Version:

Orientation Modules

Choose your OS:

These modules control the orientation of particles, preventing rotation on certain axes.

Axis Lock

The Axis Lock module is used to lock the particle facing to a given axis. Currently, this is a sprite-based module only. It contains the following member(s):

LockAxis.png

In this image, the particle sprites are being locked to the positive Y-Axis.

Property

Description

Orientation

Lock Axis Flags

Indicate the axis the particle should lock to. It can be one of the following values:

Flag

Description

EPAL_NONE

No locking to an axis.

EPAL_X

Lock the sprite facing towards +X.

EPAL_Y

Lock the sprite facing towards +Y.

EPAL_Z

Lock the sprite facing towards +Z.

EPAL_NEGATIVE_X

Lock the sprite facing towards -X.

EPAL_NEGATIVE_Y

Lock the sprite facing towards -Y.

EPAL_NEGATIVE_Z

Lock the sprite facing towards -Z.

EPAL_ROTATE_X

Lock the sprite rotation on the X-axis.

EPAL_ROTATE_Y

Lock the sprite rotation on the Y-axis.

EPAL_ROTATE_Z

Lock the sprite rotation on the Z-axis.

Tags