Cannonjs + websocket

hi can someone give me details on how i could make a wss game with cannons js?
this is the link test to the game i’m workin on lenes.epizy.com
or if u want to work wit me on the game please do :slight_smile: thank you.

Hey have you considered using ammo.js instead of cannon.js ? It’s been a little while that cannon.js is unmaintained, it’s becoming hacky to use with recent three.js…

I made an example on how to use ammo.js on the server using enable3d.io.

https://enable3d.io/examples/headless-mode.html

Depending on the game you are making, I recommend using socket.io or geckos.io.

I recommend watching this talk too:

3 Likes

ok thank you im gonna watch that now

ok thank you ill try using ammojs