← All Dev Logs

My first camera experiments

The camera finally does what I wanted! I can swing it around my character in Godot. Now can I raise it without losing sight of the player?

I had a CharacterBody3D with a camera on a spring arm. I wanted movement input to follow the camera’s orientation, so I used ChatGPT to help write the code for that behavior.

Once I had that working, I wanted the same right-button drag to move the pivot vertically as well as rotate it.

Raising the pivot introduced another problem: the camera needed to keep aiming toward the character. I tried separating the position and aim controls in the scene hierarchy.

The programming help is most useful when I can run the code myself and see where the controls still need work.

kristafer vale