- Home /
Question by
AndreasX12 · Feb 28, 2014 at 03:07 PM ·
collisionontriggerenteroncollisionenterwithout
How to detect collision without OnCollisionEnter or OnTriggerEnter?
Hi. Title says it all..
Is there a way to detect collision without OnCollisionEnter or OntriggerEnter?
Thanks in advance.
Andreas.
Comment
Well ray casts - OverlapSphere - swiping a rigidbody through the scene. Probably need more details of why to really help...
Answer by CodeElemental · Feb 28, 2014 at 03:10 PM
You could do a Raycast / Spherecast and determine if the ray hit distance is withing specific range..