This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes


I'm new with Godot.

I've a problem with collision system.
My tank is rigidbody2d with rigid mode, and also walls are rigidbody2d, but in static mode. I've encountered same issues when walls were staticbody2d.

Sometimes one collision object dives in another.
Here is video of the problem - the problem is visible in the half of the video i think:

I've tried:

  • Add more physics engine FPS
  • Change logic behind tank
  • Changed collision types of walls
Godot version 3.3.3
in Engine by (19 points)

1 Answer

0 votes
Best answer

Ok, i found bug in my code. I've used apply central impulse for my RigidBody2D, which is ok, but then I've used rotation property for rotation, which shouldn't be used in RigidBody2D (use set angular velocity instead) - that created this bug.

by (19 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 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.