我有一个游戏,在游戏过程中你的手指会四处移动,应该避免碰到一些障碍物。我知道如何使用碰撞,但我最近听说有一个名为body(at:point)的函数。我应该说我已经掩盖了我的障碍。因此,我无法使用contains(point)函数。我真的很想使用body(at:point)函数,否则我知道如何处理碰撞。我的一些代码:play_button=self.childNode(withName:"play_button")as!SKSpriteNodefortintouches{letfingerlocation=t.location(in:self)ifphysicsworld.body(at