Jump to content

[Three.js + Node.js]Server-side Cannon.js Physics


Recommended Posts

I have absolutely nothing to do with the following code, I just thought I wanted to share it, and I was slightly unsure as to which section this was best suited.


it.s 1.6GB with models, sounds etc.


I haven't been able to load the hosted game, though, so I guess something is down.

I just wanted to share it, as it seems to implement an authoritative model, with physics and hit detection done on the server. And I'm pretty sure this is something quite a few users are looking for, based on threads on the forums.

The server uses three.js too, but that's only for some basic vertex manipulation for the cannon heightfield I guess.

I have trouble installling canvas on node, as a Lot of people seem to have, so I haven't tested it yet.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...