![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Nitsuga |
I had a game with cars where I used KinematicBodies2D, I rotated them using rotation = value
but now that I have wanted to change them to RigidBodies2D I am having complications.
If I try to directly change the rotation with rotation = value
it works fine until it collides with objects as it does so in a weird way and goes through them sometimes. I have also tried using angular velocity with which it collides well but I don’t know how to make it rotate exactly the degrees I want.
So I would appreciate if you tell me a way to rotate a rigid body an exact amount of degrees without damaging collisions.