Wednesday, January 29, 2014

Unity3D Chase Camera Script

Here's another Unity script you may find useful.  This one adds a simple chase cam for your game.

  1. Attach this script to the main camera
  2. In the unity inspector fill in the name of the character you are following in the goLookAt field.

And that's it!

The script will always follow at a set distance from the player.

Once again, you can view the code for this by clicking this link here.

Leave a comment or question if you have one!

No comments:

Post a Comment

Please no spam, and no links unless they directly relate to the content of the page.