Beispiel #1
0
 //Checks if a collision has occurd
 private static bool CheckCollision(Vector3 position, int id)
 {
     return(Drones.Any(x => Vector3.NearEqual(x.Value.Transform.Position, position, x.Value.Transform.Scale) &&
                       x.Key != id));
 }