public override void SendCollisions() { if (!args.Cleared) { SendCollisionUpdate(args.Copy()); args.Clear(); } }
public override void SendCollisions() { if (!IsPhysical) { return; //Not physical, its not supposed to be here } if (!CollisionEventsThisFrame.Cleared) { base.SendCollisionUpdate(CollisionEventsThisFrame.Copy()); CollisionEventsThisFrame.Clear(); } }
public override bool SendCollisions() { if (!IsPhysical) { return(false); //Not physical, its not supposed to be here } if (!CollisionEventsThisFrame.Cleared) { SendCollisionUpdate(CollisionEventsThisFrame.Copy()); CollisionEventsThisFrame.Clear(); } return(true); }