Where to put character functionality

Hello Unreal game devs, I have a question. I’ve been prototyping a third person game with 4 different types of playable characters, and I have to ask where would It be acceptable to put character movement? I have a folder dedicated to locomotion via moving and looking x and y, jumping , dodging, ect. Is this bad practice to put character movement in its own folder? and should I put the movement in the base_character file?

You may receive a lot of different opinions here on “best practices”. In general I usually follow the hierarchy that the demo projects of Unreal follow - but at the end of the day all of this sorting is for you to better be able to map everything in your brain.

Personally my suggestion would be to follow whatever feels right for you, and if down the line it becomes complex you can always move stuff around (the wonders of programming)

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.