为什么我用官网的htmlcanvas加载我的模型或者默认的模型,角色会是倒过来的。就是脚是朝上的,这个要怎么解决?
为什么倒过来了
- Изменено
你可能需要将Sharke.scaleY
设置为-1
来翻转y轴上的骨架。 请参阅https://github.com/EsotericSoftware/spine-runtimes/blob/3.7/spine-ts/canvas/example/index.html#L74
You likely have to setSkeleton.scaleY
to -1
to flip the skeleton on the y-axis. See spine-runtimes/index.html at 3.7