#orthogonal camera with smooth/delayed following

8 messages · Page 1 of 1 (latest)

scarlet steeple
#

Im trying to do this but every implimentation I've found i assume it teleports the camera too close and the camera ends up clipping into the ground, just looking for some advice

proud tide
#

just an idea: have a marker3d as a child of the player, this is where the camera would be when the player has stood still for a while. have the camera NOT be a child of player, but be on an eternal follow script to the marker. could for example check if the distance to the target marker is greater than x, create a tween to move the camera there. while the tween exists, obviously dont run the same code again

scarlet steeple
#

So if im understanding correctly, a marker for the player where the camera should be, and then if the camera and marker get too far away from each other, start moving the camera to the marker?

#

@proud tide

proud tide
#

exactly

#

and that movement dont have to be a teleport, could be animation through tween for example

#

or just a normal position update on delta

scarlet steeple
#

what do you mean by tween?