No Checkbox to enable/disable rigidbodies


and when I use rigidbody2D.velocity I get an error there is no rigid body attached

Rigidbodies can’t be enabled or disabled like other components. You have to add or delete them altogether to get the same effect.

There’s a difference between rigidbody and rigidbody2D, they’re both different things, altho it might seem they are the same. Same as for OnTriggerEnter and OntriggerEnter2D for 2D colliders.