Hierarchy

  • PBMeshCollider

Properties

Properties

collisionMask?: number

enabled ColliderLayers (default CL_POINTER | CL_PHYSICS)

mesh?: {
    $case: "box";
    box: PBMeshCollider_BoxMesh;
} | {
    $case: "sphere";
    sphere: PBMeshCollider_SphereMesh;
} | {
    $case: "cylinder";
    cylinder: PBMeshCollider_CylinderMesh;
} | {
    $case: "plane";
    plane: PBMeshCollider_PlaneMesh;
}