moveForward method
- required double distance,
Creates a copy of the camera with its location moved by the specified distance in the direction the camera is facing.
Parameters:
distance
— The distance in meters.
Return Value: A copy of the camera with the position moved.