BBMOD_MixQuaternionFromHealthModule

Extends BBMOD_ParticleModule

constructor

new BBMOD_MixQuaternionFromHealthModule([_property[, _from[, _to]]])

Description

A universal particle module that mixes particles' quaternion property between two values based on their remaining health.

Arguments

Name Type Description
_property Real The first of the four consecutive properties that together form a quaternion. Use values from BBMOD_EParticle. Defaults to undefined.
_from Struct.BBMOD_Quaternion The quaternion when the particle has a full health. Defaults to an identity quaternion.
_to Struct.BBMOD_Quaternion The quaternion when the particle has no health left. Defaults to _from.

Properties

Name Description
From The quaternion when the particle has full health. Default value is an identity quaternion.
Property The first of the four consecutive properties that together form a quaternion. Use values from BBMOD_EParticle. Default value is undefined.
To The quaternion when the particle has no health left. Default value is the same as BBMOD_MixQuaternionFromHealthModule.From.

See also

BBMOD_EParticle

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on July 23, 2022 using GMDoc.