1. I need the camera to always be a constant height, and not move upwards if the viewer is looking upwards. The current way the Camera Tutorial is set up is forward/back directions moves in the direction of the heading and pitch direction. I only want the camera to move in the heading direction, and ignore the pitch component.
Is that possible?
2. The camera (user) will be walking/exploring through a 3d object (gltf/b3dm) environment, and I need the camera to follow the contour of the 3d object.
How does one set the camera height to always be a certain distance from the mesh beneath it?
Are there any existing examples I can look at to find a resolutions to my questions?
Thank you.