-
I´ve got 10k+ object in my scene. Each object has a rigidbody (iskinematic) and a sphere collider on it. Object can be shot at.
-
Rigidbody collider are there only so i´m able to access it´s components via an external raycast/broadcastmessage.
-
For performance reasons, i´m trying to get rid of all rigidbodies/colliders but OnTriggerEnter/Raycast only to works with a collider.
-
Now i´m trying to find a way to access a specific gameObject´s component, with out relaying on the physics system.
Any ideas? Thanks in advance!