How to fix micro lags when rigidbody2d collides with static body after falling

Godot 4.3 .net

Question

So as you see in video second fry micro lagged when collided with knife, how to fix it. Fry is rigidbody2d with default rectangle collision and knife is static body2d with collision polygon. I think it tried to get into knife maybe not, dunno

Try turning on continuous collision detection on your RigidBody2D

And if that doesn’t help, you can also increase the physics solver iterations.

2 Likes