Search Unity

Question Frozen Rigidbody still transferring force to other objects?

Discussion in 'Physics' started by kankane, Oct 19, 2020.

  1. kankane

    kankane

    Joined:
    Feb 22, 2013
    Posts:
    23
    In the gif below, the middle cube has all the Rigidbody constraints set (RigidbodyConstraints.FreezeAll).
    So how is the force transferred from the top cube to the bottom one then?
    Is there something I can do to prevent that from happening?

    I can set the middle one to kinematic and then it works, but the problem is that changing isKinematic property triggers OnTriggerEnter/Exit events (since Unity 2019.3 I think). I actually use those events to freeze the middle cube. So, if I set isKinematic in there, it will end up endlessly looping between OnTriggerEnter/Exit...


    frozen.gif
     
  2. kankane

    kankane

    Joined:
    Feb 22, 2013
    Posts:
    23
    No ideas?