Forum rules - please read before posting.

How to avoid the camera follow drifting?

Morning all,
I have a 2d project with direct controls. Y is constrained so can only move left and right for time being...

how do I make it so the camera always follows the player so I can go across a long town (Like in Rainswept, Little misfortune, Night in the woods)
without the camera drifting or losing the player?

Thanks !

I am using Unity version 2022.1.7f1
I am using Adventure creator Version V1.76.3

Comments

  • A GameCamera 2D with its "Horizontal movement" Lock field unchecked can be used to follow the Player sideways - see the NavCam in the 2D Demo's Park scene for an example.

    You can prevent it from "lagging" behind the Player by raising the "Follow speed" field at the bottom. To have it stick to the Player exactly by setting this value to zero.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.