这似乎还是无法放大偏移
怎么使用 webgl的CameraController
Both Spine Player and CameraController affect the camera. So, the camera updates made by the CameraController are overwritten by the Spine Player.
You can easily use the CameraController if you switch spine-webgl
.
Or you can try to implement the same logic of the CameraController within the update
callback of the player instance. The update
callback is invoked right after the camera update made by the player instance.
Alternatively, you can use our brand new spine-webcomponents
that allows to move the skeleton around just by enabling the drag
attibute.