dino-ge
    Preparing search index...

    Interface CollisionManifold

    Holds data about a collision between two objects.

    interface CollisionManifold {
        depth: number;
        normal: default;
        obj1: default;
        obj2: default;
    }
    Index

    Properties

    Properties

    depth: number

    Penetration depth in world space.

    normal: default

    Normalized direction of the collision from obj1 to obj2.

    obj1: default

    First object in the collision.

    obj2: default

    Second object in the collision.