BBMOD_GravityModule

A constructor defined in BBMOD_GravityModule.gml

Extends BBMOD_ParticleModule

new BBMOD_GravityModule([_gravity])

Description

A particle module that applies gravity force to particles.

Arguments

Name Type Description
_gravity Struct.BBMOD_Vec3 The gravity vector. Defaults to (0, 0, -9.8).

Properties

Name Description
Gravity The gravity vector. Default value is (0, 0, -9.8).

Inherited properties

Name Description
Enabled If true then the module is enabled. Defaults value is true.

Inherited methods

Name Description
on_finish Executed once at the end of the emitter's emission cycle. Never executed if the emitted particle system is looping!
on_particle_finish Executed when a particle dies.
on_particle_start Executed when a new particle is spawned.
on_start Executed at the beginning of the emitter's emission cycle and every time it loops.
on_update Executed every time the emitter is updated.
Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.