Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Breaking joint physics in VR

Discussion in 'VR' started by alaget, Nov 1, 2022.

  1. alaget

    alaget

    Joined:
    Nov 29, 2021
    Posts:
    3
    How do I prevent what's happening in the video below? The joint works perfectly except when I drag the lever to far away in the Z-position, it does not break in any other axis.

    I use:
    XR interaction toolkit
    Unity 2021.3.9

     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,403
    Is the rigidbody on the wall set to kinematic?
     
  3. alaget

    alaget

    Joined:
    Nov 29, 2021
    Posts:
    3
    Yep! It works the same with kinematic turned off or on, below you see all 3 components on the lever. I also played around with the Grab interactor where i made it so the i loose the grip as soon as my hand collider does not touch the lever, but this made it very hard to use.

    kinematic.png grab.png hinge.png