Check Collisions in Unity - 3D Collider Interactions

Опубликовано: 06 Октябрь 2024
на канале: Kory Code
505
16

Did You Know? 🎲: Detect 3D collider interactions in Unity with this trick: if (collider.bounds.Intersects(otherCollider.bounds)) { /* they're touching */ }. Touch and go!
That is how to check 3D Collider Interactions & Collisions in Unity

#gamedevelopment #unity3d #collider #intersects #colliderbounds #physicsengine #shorts