- Home /
Question by
laapsaap · May 03, 2012 at 05:08 PM ·
physicscollidercollisions
How do I detect current collisions without using onCollisionEnter?
Hi,
I have a sphere-like object with a script that has a function getCurrentCollisions(), how can I get currentcollisions? OverlapSphere and SphereCast is not something I can use, because of the shape of the sphere-like object.
I can use onCollisionEnter to save all the collisions in an array or something, but there must be an easier way?
Thank you.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613071037im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Find all objects currently colliding with trigger 1 Answer
Collisions occassionaly fail. 4 Answers
How to setup character Collisions? 2 Answers
Inconsistent Trigger events 1 Answer
Tree Colliders Not Working With Physics.CheckSphere / Capsule 4 Answers