import gsap from 'gsap' // Play a subtle engine idle vibration when the truck is active export const playTruckEngineVibration = (truckGroup, isActive = true) => { if (!truckGroup) return null if (isActive) { return gsap.to(truckGroup.position, { y: '+=0.015', duration: 0.08, yoyo: true, repeat: -1, ease: 'sine.inOut', }) } return null }