《碰撞问题》碰撞法线,用于处理物理碰撞和反射效果
摘要:源码: //为敌人创建一个边界圈 Circle batBounds = new Circle( (int)(newBatPosition.X + (_bat.Width * 0.5f)), (int)(newBatPosition.Y + (_bat.Height * 0.5f)), (int)(_
阅读全文
posted @ 2025-07-29 21:06
posted @ 2025-07-29 21:06
posted @ 2025-07-29 20:14
posted @ 2025-07-29 20:05