isKinematic is not a member of 'UnityEngine.Component'

I have used search but have not been able to find a solution to this issue.

I have a rigidBody assigned to a gameobject in the editor but i get the above error at runtime.

I read that there is some DragRigidbody script correction but I have not been able to find it.

Any help?

http://forum.unity3d.com/viewtopic.php?t=18829

Bingo! That did it.

Thanks!

L

Hey, I am getting the same error "Assets/Standard Assets/Scripts/DragRigidbody.js(31,22): BCE0019: ‘isKinematic’ is not a member of ‘UnityEngine.Component’. "

i had found this thread, but above mentioned link isn’t available any more.
Please tell me how you had removed that error?

Rigidbody inherits from Component:

So maybe you just need to type-cast the component as a Rigidbody, or you are obtaining a component that is not a Rigidbody, and that’s the reason it can’t find that member.