My demo is below, but first my explanation. I’m building a real time networked game that requires physics. I run the game simulation both in the browser, and in a node backend server using NullEngine. Everything seems to work, except the exact same physics configuration in NullEngine and Engine are completely inconsistent.
With NullEngine physics, the boxes seem to slide into each other, and perform some odd ball settling looking physics. The worst is that the rigid bodies will completely intersect each other for periods of time before rejecting each other slowly. This does not at all happen on the normal Engine.
I’ve reproduced the same issue inside babylon playground using null engine. Since playground limits the size of the demo, grab the pastebin and paste it into the playground.
Steps to Reproduce
- Grab the left textured box with your cursor, slam it into the right textures box and play around with it. It feels good and right
- Grab the left untextured box (from the null engine) and slam it into the right untextured box. The physics do really really really weird stuff.