- Home /
Question by
brickrends9 · Sep 12, 2020 at 08:30 AM ·
2d-platformercamera-movementjumpingcamera followfollow player
camera problem
hi guys i'm trying to move the camera on the Y axis when the player jumps , but the camera starts moving up to infinity , and the code is simple
void fixed Update if(target.position.y > 2f){ vector 3 temp = transform.position temp.y += 1 * Time. fixed Delta Time transform . position = temp } this is the code i used
Comment