o3de / o3de-extras

Other
58 stars 60 forks source link

Following camera freely setting offset #683

Open adamkrawczyk opened 2 months ago

adamkrawczyk commented 2 months ago

What does this PR do?

Modifies behavior of ros2 following camera by modifying:

As a consequence during the game/simulation, the camera can be moved by the user similar to the Editor camera. Movement is on WSAD and rotation on mouse right button pressed + move. The camera is still following the target when it moves. The camera has anti-roll mechanism. The view can be changed on num keys 1-9 and pressing the current view num resets the position.

How was this PR tested?

Tested on two local projects and a new ros2 project from the template.

patrykantosz commented 1 day ago

I cannot edit the PR's description so I will write here - in current version shift key is not used anymore in this code.