Hi.
This is a strange one. I'm experimenting with a split-screen view: the game area on the left and the GUI (inventory, menus, and text feedback) on the right. With a static scene (no moving camera), this works fine.
Here's the issue: when the camera follows the player, moving left works normally—the camera pans left. However, when moving right, the player disappears behind the right menu area, and the camera won't pan until the player reaches the screen's edge (under the GUI).
Is it possible to define a camera area smaller than the screen? This way, when the player reaches the right edge of the playable area (mid-screen in my case), the camera would start panning, keeping the player character in the left portion of the screen always?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You might get by just attaching a child object to the Player character (kept in the scene), moving it to the right, and then having the camera follow this object instead of the Player's root. So long as Turn root object in 3D? on the Player is unchecked, the relative position of the child should remain fixed.
Otherwise, Cinemachine - with its shot-framing tools - might be worth a look.