简体   繁体   中英

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. I've looked into all the methods inherited from other classes on GDXwiki & still have no luck.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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