rapier.js
rapier.js copied to clipboard
Codepen JS demo does not work (solution provided)
Hi, it seems there is used deprecated code use in the codepen js demo.
RAPIER.BodyStatus.Dynamic vs RAPIER.RigidBodyType.Dynamic
Feel free to use this version 😀: https://codepen.io/GDur/pen/PoeyJBx?editors=0010
Here is a more advanced and fuller rapierjs ts template. I don't know where else to put it so I am trying it here :)
https://stackblitz.com/edit/typescript-rapierjs-and-renderer-template-59ldwm?file=src%2FRapierHelper.ts,src%2FinitiatePhysicsWorld.ts,index.ts
Feel free to use it as the online example as well