rhodonite
    Preparing search index...

    Type Alias PhysicsColliderProperty

    type PhysicsColliderProperty = {
        collisionGroup?: number;
        collisionMask?: number;
        friction: number;
        isSensor?: boolean;
        restitution: number;
    }
    Index
    collisionGroup?: number

    16-bit collision-group membership mask. Defaults to all groups.

    collisionMask?: number

    16-bit mask of collision groups this collider may interact with. Defaults to all groups.

    friction: number

    Surface friction coefficient.

    isSensor?: boolean

    Whether this collider detects overlap without generating contact response.

    restitution: number

    Surface restitution coefficient.