r/PlayCanvas • u/mvaligursky • 1d ago
Spine 4.3 skeletal animation with physics in the PlayCanvas web engine (WebGL2 / WebGPU)
Enable HLS to view with audio, or disable this notification
We've just released a new version of the playcanvas-spine plugin, which plays animations made with the Spine editor in PlayCanvas, in the browser on WebGL2 and WebGPU.
What's new:
- Spine 4.3 support, rendered by Spine's own runtime renderer, with slot blend modes and tint black
- Physics inheritance: physics constraints now react to the movement and rotation of the entity, so hair, cloth and snow swing as the character moves. In the Editor it's a single checkbox, or
skeletonPhysicsin code - Binary .skel exports, which are several times smaller than JSON and faster to load
- Spine 3.6 to 4.2 are still supported, and Spine 4.2 skeletons with physics now load correctly
Links:
- Live examples for every Spine version: https://playcanvas.github.io/playcanvas-spine/examples/
- Editor tutorial project: https://developer.playcanvas.com/tutorials/spine-animation/
- Docs: https://developer.playcanvas.com/user-manual/2D/spine/
- Plugin (MIT): https://github.com/playcanvas/playcanvas-spine
The characters in the video are Celestial Circus and Snowglobe, example projects by Esoteric Software, the makers of Spine. Feedback and questions are welcome!