Also, I noticed the checkbox for the rigidbody component is missing.
So I can’t even disable the component in the Editor.
Am I something missing?
The problem occurs on Unity 5.0.1p2.
I did see missing checkboxes for components before and wondered why they were gone. But that happened mostly with scripts attached to gameobjects, which I didn’t need to disable at that point, though.
While, this did what it was suppose to but, when the player revives i need the component back. this causes problems because the player is swimming and i need the gravity set to zero. I tried using gravity scale, but that didn’t work:
Rigidbody2D.gravityScale = 0;
When tested i was still able to move the player with user input.
[
I already had this in place to stop the physics engine from making the player float and rotate around after he died. But, the problem still exists where the user can move the player back and fourth with input.