tsParticles - v4.0.0-beta.12
    Preparing search index...

    Rectangle side collision result

    interface IRectSideResult {
        bounced: boolean;
        position?: number;
        velocity?: number;
    }
    Index

    Properties

    bounced: boolean

    Whether the particle bounced on this side

    position?: number

    Bounce position offset

    velocity?: number

    Resulting velocity after bounce