rapier.js icon indicating copy to clipboard operation
rapier.js copied to clipboard

Codepen JS demo does not work (solution provided)

Open GDur opened this issue 3 years ago • 1 comments

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

GDur avatar Oct 08 '22 10:10 GDur

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

GDur avatar Oct 09 '22 17:10 GDur