Skip to main content
Participant
June 2, 2019

Starting an OVRGrabbable Object as Kinematic

  • June 2, 2019
  • 1 reply
  • 794 views
Is it possible to instantiate a gameObject as kinematic, but then after being grabbed have it not be kinematic?  The desired effect being the object is frozen in the air to start, can be grabbed, but after release drops to ground.

So before being grabbed:
        obj.GetComponent<Rigidbody>().isKinematic = true;
        obj.GetComponent<Rigidbody>().useGravity = false;

And after being release from grab:
        obj.GetComponent<Rigidbody>().isKinematic = false;
        obj.GetComponent<Rigidbody>().useGravity = true;

Thanks!
This topic has been closed for replies.

1 reply

suryavijayy
New Participant
May 8, 2025

No answer for this bro, I searched, I tried injecting and I tried same method.. You have to enable RB at first so when u grab and release it will work...