Please tell me how to add a curve (closed) to the scene along which the camera can be launched to fly around the scene and back. It is advisable to assign points on the curve at which the camera will linger for a while and fly further.
camera-controls (esp. this example) may be what you’re looking for?
1 Like
Also this might help you more or less: https://codepen.io/boytchev/pen/poxpGZN.
Generally, if you can move a cube along a curve, you could also move the camera long that same curve (the camera has position
just like the cube). Also, you might want to pay attention to the orientation of the camera (e.g. if you want it to always look forward).
A camera can be moved like any other object.
See from the Collection of examples from discourse.threejs.org
… if you want it to always look forward …
FlightRouteQuaternion
BasisToQuaternion
CarRacing
MovementOnCurve
MotionAlongCurve
SmoothTurnsToPath
2 Likes