1
\$\begingroup\$

I'm trying to recreate Rocket League's freeform (non ball-locked) camera, which basically is a camera that follows the player but pivots to allows face the direction the player is moving in (not necessarily facing). Here's a video of Rocket League's implementation for reference: https://www.youtube.com/watch?v=RSpB6ocrIX8&t=37s

What are the main things needed to accomplish this?

\$\endgroup\$
1
0
\$\begingroup\$

In UE4 i think you could create this quite easily using either a camera that is independent from the player (in that case you would use LERPs to rotate and move the camera). Spawn the camera in a fixed spot behind the player (but do not parent it to the player) and then rotate it at the player over time with a slight lag. Do the same with position.

Another way would be to use "Boom" to connect it to the player. The first solution you could translate to Unity quite easily, I don't know about the Boom part.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.