0 votes

I'm working on a 2D game which involves a follow-along NPC companion. When my player jumps, the companion jumps right after. However, often the companion will land on top of the player's sprite and the player will no longer be able to jump, and because of that the companion can't jump off. Eventually, the player can no longer move at all for some reason. I can't seem to figure out how to resolve the issue.

I tried changing the shape of the CollisionShape to something more round, but it still happens sometimes and it doesn't fit the shape of the character quite as well.

in Engine by (17 points)

Does that mean your player and its companion can collide with each other? If not, I don't see a reason why one would prevent the other from moving Oo

They can collide with each other, yes. If I turn off the companion's collision box, I was worried the companion will just fall right through the ground.

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.