/** * @holoscript/core Flow Field Trait * * Implements NPC navigation using GPU-accelerated flow fields. * Agents steer towards a destination by sampling a direction from the NavigationEngine. */ import type { TraitHandler } from '@holoscript/core'; export interface FlowFieldConfig { /** ID of the destination to follow */ destinationId: string; /** Speed of the agent */ speed?: number; /** How much the agent should steer towards the flow direction (0-1) */ steeringWeight?: number; /** Stop distance from destination */ stopDistance?: number; } export declare const flowFieldHandler: TraitHandler; export default flowFieldHandler; //# sourceMappingURL=FlowFieldTrait.d.ts.map