Camera2D does not follow the character

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yeeshu06
:warning: Old Version Published before Godot 3 was released.

I have my camera2d, as a child of character which is Rigidbody2d. I have the current option on. and have also set the limits in previous levels. So the camera follows the player as he goes left and right. But the camera does not follow if he goes up (climbing up obstacles).

Any idea how to solve this? EMERGENCY pls!!!

THanks

show your scene hierarchy and camera2d properties.

volzhs | 2017-09-14 19:43

you mean u want to see it?

Screen hierarchy :

level04(node2d) → player(rigidBody2d) → camera2D

and camera2d properties are as follows:

Limit
left = -25
top = 80
Right = 5200
Bottom = -150

And my height is 540 and width is 940.

yeeshu06 | 2017-09-14 19:54

did you try higher value for top, like 1000 or 2000?

volzhs | 2017-09-15 01:19

Yes it just goes down then…below the ground…the camera bounces way down instead of up…and nothing mch happens when i do it for bottom

yeeshu06 | 2017-09-15 07:57