BBMOD_CollisionEventModule

Extends BBMOD_ParticleModule

constructor

new BBMOD_CollisionEventModule([_callback])

Description

A particle module that executes a callback on particle collision.

Arguments

Name Type Description
_callback Function The function to execute. Must take the emitter as the first argument and the particle's index as the second argument. Defaults to undefined.

Properties

Name Description
Callback The function to execute on particle collision. Must take the emitter as the first argument and the particle's index as the second argument. Default value is undefined.

See also

BBMOD_EParticle.HasCollided, BBMOD_ParticleEmitter, BBMOD_ParticleEmitter.Particles

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.