Hello, I’ll quickly describe my problem:
the spaceship is a rigidbody in a box collider. When I apply a collider, the ship becomes “heavier” (I don’t know if it’s normal, but I accept it).
I added a script that enable a “shield” around the ship when a key is pressed, so the ship doesn’t receive damage when it is active. The shield has a collider, obviously, and it’s instantiated as child of the “shield generator” (an empty object, child of the ship).
When I activate the shield, the ship gets heavier for the same reason written above, but the weird thing is that when the shield goes away (it lasts X seconds), the ship stays heavy.
At first I tought the collider of the shield was still attached to my ship, but I tested it just colliding against an object and I’m sure there’s no collider… So, why my ship is still that heavy?
This problem is driving me crazy, I can’t figure out how to fix it.
Thanks in advance