Esempio n. 1
0
 public override bool Intersects(BoxColliderComponent box)
 {
     return(CollisionUtility.PointAABBIntersection(Position, box.Position, box.Size * 0.5f));
 }
Esempio n. 2
0
 public abstract bool Intersects(BoxColliderComponent other);
Esempio n. 3
0
 public override bool Intersects(BoxColliderComponent box)
 {
     return(CollisionUtility.AABBIntersection(Position, HalfExtents, box.Position, box.HalfExtents));
 }