Example #1
0
        public void Collisions_Doesnt_Hit_TriggerCollider()
        {
            SetupTest();

            otherCollider.isTrigger = true;
            otherCollider.tag       = "Ground";

            Vector2 hitNormal   = Vector2.up;
            Vector2 checkNormal = Vector2.up;

            Assert.False(Collisions.IsHit(otherCollider, hitNormal, checkNormal));
        }