Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Colliders not colliding accurately

Discussion in 'Scripting' started by Kinkku2, Jan 23, 2016.

  1. Kinkku2

    Kinkku2

    Joined:
    Sep 29, 2014
    Posts:
    106
    Heya. I have a situation where there are two 2D rigibodies: The other one the player can add force, thus moving it. The other one can be pushed. However, when I move, the pushable collider sinks into the player's collider. How could I mend this?



    The player's collider is there on the right and the pushable collider on the left. Their masses are the same. Does this have something to do with AddForce?
     
  2. timoshaddix

    timoshaddix

    Joined:
    Jan 7, 2014
    Posts:
    64
    Maybe you've made the Pushable Collider trigger?
     
unityunity