Reasoning behind where to put what

Hi there. I have a question about code organization. What is the reasoning behind putting IA_Crouch and IA_Run into BP_ThirdPersonCharacter but putting IA_Interact into BP_OUR_CHARACTER_Player please?
One of my biggest issues with UE (other than not knowing 99% of the API that is:P) is that I don’t know what is the correct way of putting code in. What should be where, when to use interfaces and events, the basic communication.

I understand the need to know what the “best” way of doing something is, but the reality of game development is that what may be the “best” could actually be the worst way depending on the project you’re building. It’s also not something that’s exactly good to focus on when you’re starting out.

That said, the general idea is to keep code focused on where it’s being used. IA_Crouch and IA_Run where pre-generated for us when creating the ThirdPerson project within the ThirdPersonCharacter. So keeping those events there makes sense. With the Metahuman character we make, we’re adding functionality on-top of the ThirdPersonCharacter. So it makes sense that we put IA_Interact in BP_OUR_CHARACTER_Player.

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

Privacy & Terms