Hello Everyone,
I’m trying to toggle the Kinematic function of the Rigidbody component of a gameObject from false to true. This is the line of code I’m trying to use:
this.GetComponent(isKinematic = true);
This is clearly not working. I think I am also having troubles referencing the gameObject with the .this code. Any help with that as well? Thank you for your time.