Skip to main content
1 of 2
John Smith
  • 1.3k
  • 1
  • 20
  • 41

Unity collider and rigidbody allow touch but not pushing

I'm making a pool game, and would like the circle (imaginary) to be in contact with the table and balls, and to fit perfectly as a ball would. Now I though I would use rigidbody and lerp the position of the circle to the ray hit, however as it has a collider it would fit well, the problem I encountered is that since it has a collider it pushes the balls which I do not want.

So my question is, how do I make a collider (no rigidbody) to be able to touch other gameobjects with collider and WITH rigidbody, but not to push them?

enter image description here

John Smith
  • 1.3k
  • 1
  • 20
  • 41