简体   繁体   English

libgdx拖放演员

[英]libgdx dragging & placing actors

I'm stuck on making widgets grab-able / movable & I was hoping someone here on stack could point me in the direction of achieving this. 我一直坚持使小部件可抓取/可移动,并且我希望堆叠中的某个人可以指出实现这一目标的方向。 I Was originally thinking using movement from com.badlogic.gdx.scene.scene2d.ui.Window & was curious if there was an easier way. 我本来是想使用com.badlogic.gdx.scene.scene2d.ui.Window中的移动,但我想知道是否有更简单的方法。 I've looked into all the methods inherited from other classes on GDXwiki & still have no luck. 我研究了从GDXwiki上其他类继承的所有方法,但仍然没有运气。

我认为您正在寻找的是Box2D的QueryAABB方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM