Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question How does physics work "under the hood"?

Discussion in 'Physics' started by Kontromans, Mar 4, 2024.

  1. Kontromans


    Feb 26, 2017
    Hi. I have 2 object: 1 on layer "rail", 2nd (child) on layer "rail' - parent "player". They have collision and can collide:


    but, if 1 rail will collide with another rail it causes strange behavior in an object that it is not in contact with (video in rar attachment)

    i solved this problem by disabling in project settings layer collision matrix and changed player`s layer. Now if 2 rails collider it doesnt affect to player position and rotation, but i cant understand why this was happening on low level physics in unity, can someone explain?

    Attached Files: