How can you change yaw/pitch/roll of the camera based on mouse movement?

I have been searching and I can’t find anything too helpful or something that I can understand.

I’m working on a first person game and I have made a way to move the camera, but it always look directly in front of it. This, as you could imagine, isn’t very helpful from trying to see what game looks like on the ground.

Is there a way to do this?

Please excuse me if my question doesn’t provide enough information, I am a new user, I’m also fairly new to panda3d.

You can study this sample code:

Also pay attention to the section with code examples, there are a lot of useful things there.

1 Like

Oh, that was simple enough. Thanks for the quick reply!