it possible to enable/disable the rigid body component at runtime?

it possible to enable/disable the rigid body component at run time?

Yes

please provide me some sample script

rigidbody is of type Component not Behaviour, you can’t enable=true/false it (and it does not have its own enabled property as Renderer for example). Turn off/on the whole gameobject or maybe isKinematic does what you want.

My bad then – new thing learned :slight_smile: