0 votes

A 2D camera under a kinematicBody2D node.
Current checked

When player hit camera margin, the camera margin stops character like a wall.

Tried to create a new project, set up a very simple scene, only KinematicBody2D, Sprite, Camera2D, and a script only control movement, still...

Anyone know what's the problem?

in Engine by (17 points)

The camera can't stop the character from moving. At best it actually just starts following the player. If you have no reference background it will look like it blocks the player but that's not true. I'm not sure to understand your problem.

Hi,
Thank you so much for answering my question. I do have a background picture.

I understand you say camera can't stop character moving, but it does happened, the margin of camera become invisible walls blocks movement.

But after i deleted the parallax background, it go back to normal...

Thank you anyway though, took me 2 days to figure out it's background's problem.

I have this same problem, i add Camera2D to my player (Kinematic body 2D), then i set the camera 2D to current and my player can not move, can someone help me? i do not have any backround, just my player...

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories