Ai_Assistant/client/config.js

31 lines
818 B
JavaScript
Raw Normal View History

2026-05-24 13:31:30 +02:00
// adjust these paths / URLs as needed
// adjust these paths / URLs as needed
export const VRM_PATH = './models/active.vrm';
export const WS_URL = 'ws://localhost:8001/ws';
export const HTTP_URL = "http://localhost:8001";
export const MOUTH_THRESHOLD = 0.5;
// VR Configuration
export const VR_CONFIG = {
// Starting position of the VR dolly rig [x, y, z].
// Y offset lowers/raises virtual eye level; Z is distance from avatar.
dollyPosition: [0, 0.13, 0.8],
// Proximity touch threshold (meters) - how close hand must be to trigger touch
touchRadius: 0.09,
// Extended range when trigger is pressed (meters)
triggerTouchRadius: 0.25,
// Cooldown between touch interactions per hand (ms)
touchCooldown: 2500,
// Haptic feedback
hapticIntensity: 0.8,
hapticDuration: 150,
};