Skip to main content

4 posts tagged with "physics"

View All Tags

New in PlayCanvas Editor: Joints, Parallax Occlusion and Splat LOD

· 9 min read
Kris Bamrah
Software Engineer

Editor 2.32 is out, and it leads with something that has been a long time coming: the Joint component. Hinges, sliders, ball joints, springs and breakable welds are now things you configure in the inspector rather than assemble from a script.

There is more to it than that. Materials get ray-marched parallax occlusion, the render component gets per-cascade shadow control, text elements can finally justify, and the Gaussian splat LOD controls have been reworked.

This is also the first of what we intend to make a regular thing. Plenty has shipped in the Editor over the past year without ever being written up, so from here on we will be posting about Editor releases far more often — shorter posts, closer to the release, instead of waiting for one big enough to justify the effort.

Implementing Cloth Simulation in WebGL

· 5 min read
Ray Tran
Software Engineer

The PlayCanvas WebGL game engine integrates with ammo.js - a JavaScript/WebAssembly port of the powerful Bullet physics engine - to enable rigid body physics simulation. We have recently been working out how to extend PlayCanvas’ capabilities by using soft body simulation. The aim is to allow developers to easily set up characters to use soft body dynamics.

Here is an example of a character with and without soft body cloth simulation running in PlayCanvas:

RUN FULLSCREEN