I’m trying to make a 3d platforming game that uses a unique camera system. Ideally, the camera follows the player on a spline, meaning that for example, if the player moves left or right in this section the camera would move left or right with them, but not follow them up and down or forward and back.
Meanwhile, in a section like this, it would follow forward and back, but not up and down or left and right.
i have absolutely no idea how I would go about doing this but if anyone has even somewhat of an idea i’d be open to it!