All examples By author By category About

bryik

Knock Down and Rebuild

Knock down and rebuild

Originally a test comparing the 'shakiness' of spheres to boxes--spheres are stable while boxes shake if stacked.

However, I got sidetracked into making a loop. Strangely, attempting to update the position of an entity with a dynamic-body failed (nothing happened). The work-around is to remove the dynamic-body, re-position, and then add the dynamic-body component once-more (i.e. turn physics off for the entity, move, and then turn it on again).

A Pen by bryik on CodePen.