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.
我正在使用 SmoothCamera 移动我的相机,但我该如何永久移动它?
使用 camera.setCenter() 时我必须设置 X & Y。
如何在“onSceneTouchEvent”上移动和停止相机移动?
你可以打电话camera.setCenterDirect(x, y)。那是你要找的吗?
camera.setCenterDirect(x, y)