Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直致力于制作可抓取/可移动的小部件,我希望堆栈中的某个人可以为我指明实现这一目标的方向。我最初想使用来自 com.badlogic.gdx.scene.scene2d.ui.Window 的移动 & 很好奇是否有更简单的方法。我已经查看了从 GDXwiki 上的其他类继承的所有方法,但仍然没有运气。
我认为您正在寻找的是 Box2D 的 QueryAABB 方法。