#Camera Moement with on screen buttons
1 messages · Page 1 of 1 (latest)
not sure if I understand your question correctly, but you can change the camera angle in the function that receives the button signal.
e.g.
- click top button sends "top_button_pressed" signal
- "top_button_pressed" signal triggers "look_up()" function
- in "look_up()", you rotate the camera to the new value - I think it's something like
$Camera.rotate_y(0.5)
And how would I move the camera in a direction (let's just say towards the door)?
As Camera3D inherit from Node3D, you can set its global_position using a tween from its current/starting position to its final position.