0 votes

I use a RigidBody2D with a rectangular CollisionShape2D to create a movable box. The box moves how I want it to, but every now and then it gets stuck on a collision shape of the TileMap floor (see video). Specifically, it happens at 8 seconds and 10 second (and some more times after). If I change the shape to a circular collision shape, it works, but this does not represent the shape of the box. I added the configuration of the TileMap in the image. I was wondering what I need to change to fix this. I already heard that this may happen due to microscopic gaps, but I don't understand how that can happen with the TileMap settings as they are. Thank you!

image

video

Godot version 3.2.3
in Engine by (17 points)

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 Frequently asked questions and 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 [email protected] with your username.