0 votes

How would I make a camera follow one character and keep both characters in focus like the way the Naruto storm series do it, or most 3d fighting games?

in Engine by (52 points)

not sure if i understood correctly but like, do you want to place 1 camera on the shoulder of p1 and make sure p2 is always visible?

Yes. Exactly that

So i had a look at this Naruto fighter and it had so many VFX during battles the camera trickery was hidden very well. Until the characters started running on walls was able to understand that the camera operated with these rules in mind

Firstly the camera tracks a point at the center of the combatants
Secondly the distance between them dictated a zoom in or out
Camera strafes left or right in a rotation of the combatants position and the central point

You've managed to pique my interest so will work on a demo

Thanks. I'll try to work out camera movements with the information you provided

1 Answer

0 votes

This is an amazing tutorial by KidsCanCode
https://www.youtube.com/watch?v=W7WsL3qaPqg

This is tutorial is for 2D but hopefully you can tweak the code to work for 3D

Hope it helps :)

by (104 points)

Thank you. Tweaking ahead

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.