Camera Rubber Band
I designed this system to dynamically adjust the camera's speed along the spline, creating a smooth and responsive feel.
The speed scales with distance; the farther the camera is, the faster it moves, gradually slowing down as it gets closer. To improve responsiveness, I also factored in the angle between the camera and spline forward.
Solution
- 📏 Distance scaling - Speed increases with distance, slowing down as it gets closer.
- 🔄 Angle adjustment - Modifies speed based on the angle between the camera and spline.
- 🎚️ Fine-tuned control - Divides the result by a ridiculous number; if it works, it works.
