clik-engine API
    Preparing search index...

    Interface ParticleCollisionConfig

    interface ParticleCollisionConfig {
        bounce?: number;
        friction?: number;
        minVelocity?: number;
    }
    Index

    Properties

    bounce?: number

    Bounce coefficient (0 = no bounce, 1 = perfect bounce)

    friction?: number

    Friction applied on bounce (0-1)

    minVelocity?: number

    Minimum velocity to count as alive (below this, particle stops)