Need help understanding Rigidbody2D.isKinematic

In my game i have 2 “planks” covering a gap, i want it so when my player touches these planks they are no longer kinematic, but I’m getting this error = an object reference is required to access non static member unity.isKinematic, when i try to compile the current code.


    using UnityEngine;
    using System.Collections;
    
    public class Breakable : MonoBehaviour 
    {
    	void OnTriggerEnter2D(Collider2D other)
    	{
    		if(other.tag == "Player")
    		{
    			Rigidbody2D.isKinematic = false;
    		}
    	}
    }

Can anyone help me make it work, as far as i can remember i never had this problem when i used isKinematic with regular 3D objects.

^^ that’s the important part, but if anyone could give me some guidance on this part aswell;

When i jump in game and press ‘S’ it adds a strong downward force. i want this very mechanic to eventually break (un kinematic) the planks. How would i go about implementing this? i already have the downward force ect added in my main player script.

Rigidbody2D with an upper case ‘R’ is the class. The GameObject short-cut to get access to the component is ‘rigidbody2D’ with a lower case ‘r’. So:

rigidbody2D.isKinematic = false;

This is also true of Rigidbody.