A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'Getting Started' started by skyLark9, Jul 10, 2018.
It possible to use OnCollisionEnter or OnTriggerEnter in object without rigidbody ?
I found these answers:
When using these I think both need at least one of the gameobjects to have a rigidbody for collision processing. It doesn't have to be an non-kinematic rigidbody though - so if you have objects you don't wanna do physics (like gravity) for, you can attach a rigidbody still to it, and set the kinematic checkbox. Then when that object hits your trigger or another object with OnCollisionEnter then it should work.
Thank you MD.
No problem, good luck!