0 votes

I am using godot 3.3.2
I am using rigidbody as player and I only control gravity through button
When rigidbody falls It doesnot stop on collisionshape2d of staticbody
It goes further down and then comes back to perfect collisionn shape
It should be stopping as soon as it collides but it does not.

Rigidbody2d
-sprite
-collisionshape2d
staticbody2d
-collisionshape2d

Godot version 3.3.2
in Engine by (17 points)

1 Answer

0 votes

Well first of all in my opinion I would be using a kinematic body for the player.

Maybe check are they on the right layers and that the collision shape is the right size.

by (18 points)
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.