/** * VRPhysicsBridge.ts * * Bridges the gap between WebXR input (Hands/Headset) and the Physics Engine. * Responsibilities: * 1. Create/Update Kinematic Bodies for hands/fingers. * 2. Sync velocity for throwing mechanics. * 3. Manage collision layers for hands (to avoid self-collision if needed). */ import { IPhysicsWorld } from './PhysicsTypes'; import { VRHand } from '@holoscript/core'; export declare class VRPhysicsBridge { private world; private handBodies; private lastPositions; private lastRotations; private onHaptic; constructor(world: IPhysicsWorld, onHaptic?: (hand: 'left' | 'right', intensity: number, duration: number) => void); private getVec3Component; private getQuatComponent; update(vrContext: { hands: { left: VRHand | null; right: VRHand | null; }; }, delta: number): void; private checkCollisions; updateHand(hand: VRHand | null, side: 'left' | 'right', delta: number): void; getHandBodyId(side: 'left' | 'right'): string | null; } //# sourceMappingURL=VRPhysicsBridge.d.ts.map