Skip to content

@relu-interactives/spatial-ecs


@relu-interactives/spatial-ecs / components / XrGrabReach

Type Alias: XrGrabReach ​

ts
type XrGrabReach = "physical" | "distance" | "both";

Defined in: components/XRInteractable.ts:11

How close the user must be to grab.

physical requires the hand to actually reach the object — the honest, embodied interaction. distance allows grabbing across the room along the pointer ray, which is what makes seated and room-scale play comfortable. both accepts either, and is the friendliest default.