Advanced Cam Follow

$7
Publisher Damian Gonzalez
File size 436.12kB
Number of files 14
Latest version 1
Latest release date 2020-03-26 05:41:25
First release date 2020-03-31 12:04:11
Supported Unity versions 2018.4.2 or higher

Hi! Thanks for stopping by.

WHAT "ADVANCED CAM FOLLOW" OFFERS?
In addition to the things "Simple camera follow" gives you:
- Making your camera following a target
- Adjust the "laziness" (how slowly the camera will follow the target, giving it more space)
- Option of look at the target (camera will tilt to look at the target, displaying it always at the center)

...On top of that, "Advanced Cam Follow" offers you:
- Multi target: You can specify as many targets as you want. Your camera will keep all of them at the screen.
- Limits: You can set a square (and modify it at runtime if you want), so the camera will stay always inside, so the edges of your map will remain at the edge of the screen.
- Real-time adaptation to any screen size, any aspect-ratio and any field of view you set on your camera.
- Minimum distance, so your camera doesn't come too close of targets
- General margin (distance from the farthest targets and screen edges)
- It will consider volumes, not just the center of the targets.

...And camera shakes!
You can trigger camera shakes of different magnitudes and durations.
You can even specify on which axes (X,Y,Z) the rotation will occur, or combine them.


IMPLEMENTATION
Implementation of this asset is extremely simple: You only drag the script to your camera and set the targets.


DEMO
In this video you can see the demo scene and an explanation on how to implement the asset


READY FOR COMPATIBILITY
The two main scripts (Camera Follow and Camera Shake) are prepared to work along.
They both could try to rotate the camera, but they will setup themselves to work in conjunction.
This also works for other scripts that may work with the camera. You can tell the Camera Shake script, by the "managed externally" property in the inspector, to not fire its own rotations, but to wait to some other script to tell it when to apply them, so it will apply them on top to rotations that other scripts calculated, resulting on very smooth shakes.


IS THIS FOR ANY TYPE OF GAME?
This asset is great for 2D and 2.5D games (where the camera follows the player in XY, but deferred in the Z axis). It's not recommended for 3D games where the camera goes always behind the player.


NOT ENOUGH? TOO MUCH?
Keep in mind that this is one the 3 levels of camera solutions we offer:

- Simple Cam Follow: provides your camera a simple way to follow a target (only one target)

- Advanced Cam Follow: (on top of previous content) supports multiple targets, gives you camera shake, real-time limits, real-time adaptation to any screen size, any aspect-ratio and any field of view, and more.

- Cam Follow Pro: (on top of previous content), gives you the possibility of defining fluid individual zones (with their own zoom, angles, offsets, margins, etc), and polygonal bounds, for more complex levels.

Top Publisher Assets