PGD Home

P0-A9: Part 854: Orbital Mechanics, Multiplayer

by on Jan.24, 2021, under Art and Designs, P-0, P0_A9, Software and Games, Spiritus Astrum

The player intercept code is now basically working.

Players can join up regardless of distance and velocity, and the system stores the position information correctly over the server.

There are still some additions and tests that I want to run on this, but it basically works.

Orbital mechanics also works for all players, however the position and velocity values are not properly synced, since I am using update() rather than fixedupdate(), so different framerates will effectively change the speeds that ships are moving at.

I will eventually switch to using fixedupdate, but I am having a few issues with this at the moment.

Facebooktwitterredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!