Jump to content

Simple Follow Camera


OneHitWonder
 Share

Recommended Posts

Here is a simple follow camera I made while testing Ultra Engine.

image.gif.7b4b69ba96511e1ef795de747aad0315.gif

 

How to use?

  • Download the zip file and place the contents into your component folder.
  • Register the component.
  • Add a camera into your scene at the height you would like to view your character from.
  • Add the component to the camera, configure the distance you want to allow the camera to fall behind, the speed it moves and the target it follows.

This was only intended to work across 2 dimensions and I haven't implemented it to work on the y axis. 

Improvements to consider:

  • y axis for characters jumping.
  • Automatically face the target to prevent having to manual rotate the camera down.
  • Camera wall collision.


image.thumb.png.5dcfd6b07179f1432460cf55205c10c8.png

FollowCamera.zip

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...