import type { TraitHandler } from '@holoscript/core'; /** * GPUPhysics Trait * * GPU-side physics simulation bridge. * Uses the PhysicsEngine @builtin to offload simulation to GPU. */ export interface GPUPhysicsConfig { sim_type?: 'particles' | 'rigid_body' | 'soft_body'; method?: 'pbd' | 'xpbd' | 'impulse'; gravity?: [number, number, number]; substeps?: number; mass?: number; shape?: 'box' | 'sphere' | 'capsule' | 'mesh'; shapeParams?: number[]; friction?: number; restitution?: number; isStatic?: boolean; } export declare const gpuPhysicsHandler: TraitHandler; export default gpuPhysicsHandler; //# sourceMappingURL=GPUPhysicsTrait.d.ts.map