Skip to content

API Type QueryShape3D

github-actions[bot] edited this page Nov 24, 2026 · 3 revisions

Type Alias: QueryShape3D

type QueryShape3D = 
  | {
  kind: "sphere";
  radius: number;
}
  | {
  halfExtents: PhysicsVec3;
  kind: "box";
}
  | {
  halfHeight: number;
  kind: "capsule";
  radius: number;
};

Defined in: src/plugins/physics/runtime/backend.ts:68

Clone this wiki locally