Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Joint not being removed when it breaks.

Discussion in 'Physics' started by MikeUpchat, Dec 13, 2015.

  1. MikeUpchat

    MikeUpchat

    Joined:
    Sep 24, 2010
    Posts:
    1,056
    It states in the Unity docs:

    But that is not happening in my scenes, the hinge joint component is not removed when the break force is exceeded, which is correct? The current behaviour in Unity 5.2.3 or the docs? Is this something new for Unity 5.3?

    And it also seems that OnJointBreak(float) is not being called on my object, I see the joint break in the scene but the console has no report off it from my Debug.Log message. It would seem that if I change the break force values via script while the joint is in place the joint will break as the break force value gets low enough but then the OnJointBreak method is not called.
     
    Last edited: Dec 13, 2015