Let There be Player Interaction


I don’t have much time today, so I was thinking that in this session I would just implement the controls for my character. The character just sits at the table and is basically a disembodied camera that can look (rotate) around.

I want to have a visible mouse cursor, and interact with the world by clicking around. I would also like to do controller support, but I’ll do that later once I have a basic gameplay loop and have a better idea of what the player is going to want to do. So I’m going doing KB+M now but keeping the controller in mind.

So, keyboard and mouse controls: mouse on screen and when it reaches the edge the camera rotates relative to the world.

=========================

I did it but it doesn’t really feel good, might be ok for testing, but I’m not sure what is gained by being able to look around like this. Zoom and pan might be more useful for looking at the table, and maybe WASD controls to switch between a couple of predefined camera angles (table, up from table, door, something else). Conclusion - looking around without being able to move the point where you’re looking from is not that useful for looking down at a table.

On the brighter side, I finally got some C++ code into the project and made sure my Visual Studio setup works for Unreal, and I have that mouse that I need to interact with the documents on my table. So next time I could work on that interaction.

Leave a comment

Log in with itch.io to leave a comment.