Skip to main content
Participant
Jun 2, 2019 4:12 PM UTC

Starting an OVRGrabbable Object as Kinematic

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 4:07 PM UTC

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...