Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic physics #1

Open
nevyn opened this issue Nov 20, 2018 · 0 comments
Open

Basic physics #1

nevyn opened this issue Nov 20, 2018 · 0 comments

Comments

@nevyn
Copy link
Member

nevyn commented Nov 20, 2018

Server needs physics for movement and collision, of course.

Client needs the same physics to interpolate the world state between server heartbeats.

Server is in erlang, client is in C# :S Three options:

  1. Mash box3d into allonet, and put it in the shared C layer. Add an API to take the existing allonet/state.h structures, simulate physics on them for x ms, and return a new set of simulated structures. Use this method in both client and server.
  2. Use another physics library that has nicer APIs, especially up to C#. Use the same library from both client and server.
  3. Just use different libraries client and server side, or even own implementations.

I'm leaning towards 1.

Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant