Importing Rapier Physics Lib #923
-
i tried using Rapier Physics with cables but failed so far to import and use the lib. https://cdn.jsdelivr.net/npm/@dimforge/[email protected]/rapier.min.js i don't really understand how to make it work. pretty tricky to use libs in cables since most stuff i found are modules based. any hint would be welcome |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
yeah, js library stuff is horrible and complicated and a big pain. you have to build it yourself using a web packager like webpack i already have rapier.js working in cables. but no time/money to work on it here is the js, than can be used as op asset lib |
Beta Was this translation helpful? Give feedback.
-
this is what i was looking for. amazing. how did you make this js file from rapier ? |
Beta Was this translation helpful? Give feedback.
yeah, js library stuff is horrible and complicated and a big pain.
you have to build it yourself using a web packager like webpack
i already have rapier.js working in cables. but no time/money to work on it
here is the js, than can be used as op asset lib
rapierpkg.js.zip