OnCollisionEnter is not called in unity

前端 未结 6 1857
走了就别回头了
走了就别回头了 2021-01-04 06:10

I checked nearly every answer for this, but those were mostly simple errors and mistakes. My problem is that OnCollisionEnter is not called even when colliding whith other r

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-04 06:42

    You just need attach script to the same object, whose need detects the collision.

提交回复
热议问题