Hi, I am working on a space game where you fly a small spaceship with the help of Physics Thrusters. Everything works fine except when the spaceship collides with another object. The ship then spins like crazy or when it gets stuck everything goes crazy. Is there a way to make the ship collide smoothly, not spin or get stuck? Dumping does not bring much here. The best would be that it reacts as if it were a pawn without physics.
There are a couple good options (assuming your not multiplayer)
1 on event hit set all angular velocity to 0 or on a time line get angular velocity and divide by 1.1 and then setting all angular velocitys to that result on the update.
2 set the angular damping to a higher value. This will have some unwanted effects so you could apply this on event hit.
thanks for your answer and so far it works. But the real problem is that the ship gets stuck really harsch at corners and edges. How can I prevent this?
Try setting project settings physics complexity to complex as simple. Then set the ship mesh to simple and complex. This won’t work on mobile or very old machines