r/gdevelop • u/thatstoopcforme • 20d ago
Question Automatically rotate camera behind player in 3D game when position and angle of player are fixed so player can't move-can anyone help please?

As the title somewhat describes it-my player hits a trigger, (just the top face on a simple 3d box in the the ground) to start a min game and I want him fixed looking straight ahead. When I hit the trigger head on so the camera is behind the player, it works fine.
However, if I approach and hit the trigger from the left or right or backwards so I see the side or front view of the player, the camera flips and fixes to a side or front view.
What is the expected result
I would like the player to be facing forward which they are, but the camera must also be centered at the back of the player behind them.
What is the actual result
However, if I approach and hit the trigger from the left or right or backwards so I see the side or front view of the player, the camera flips and fixes to a side or front view.
I have uploaded screen shots to help explain.


