Пример #1
0
 public override bool Intersects(BoxColliderComponent box)
 {
     return(CollisionUtility.PointAABBIntersection(Position, box.Position, box.Size * 0.5f));
 }
Пример #2
0
 public abstract bool Intersects(BoxColliderComponent other);
Пример #3
0
 public override bool Intersects(BoxColliderComponent box)
 {
     return(CollisionUtility.AABBIntersection(Position, HalfExtents, box.Position, box.HalfExtents));
 }