Skip to main content

3 posts tagged with "physics"

View All Tags

Implementing Cloth Simulation in WebGL

· 4 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

Introduction to ammo.js

· One min read

Last night I presented at the London HTML5 Game Dev meetup. As usual we had an awesome time and if you're based in or around London then you should definitely try and get along to the next one.

It was an overview of the ammo.js the physics engine we use internally for PlayCanvas and should be an interesting read for anyone who isn't totally familiar with what a physics engine is or does. It gives a nice overview of the different parts that make up a full physics engine and includes a bunch of demos about what is possible with PlayCanvas.

[iframe src="http://slid.es/davee/introduction-to-ammojs/embed" width="576" height="420" scrolling="no" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen>]