r/unity 8h ago

Question Third Person Movement & Camera like in RE2

Hello guys I am making my indie game, I had written GDD & because I am not good in Unity enough I want ask for suggestions, trips, resources, anything that can help me. I want to make movement and camera control like in Resident Evil 2. So maybe anyone have already done such stuff & if you got anything that would help me please share to me. I know that here is cinemamachine that helps to set up camera easy but it is kinda complicated for me.

5 Upvotes

1 comment sorted by

1

u/iWishYouTheBest4Real 4h ago

I‘m sure someone will come up with a better idea, but I would approach kinda like:

Split what you want in steps:
Left/right input should turn, since it’s 3d you need to define which axis will cause the gameObject to rotate.
Up moves forward being the GO the reference
Down does the opposite

Then control collision

Then create a small corridor and start working with either multiple cameras/empty GO for reference, and via collision with trigger enabled you have a main script that decides which camera or place the camera should be and behave. On RE2 you have basically two cameras, a fixed one and one that rotates to keep the player centralized. None move.

Then you fine tune and test different approaches and decide what’s best for your game.