I need a bit of advice regarding using Tokamak over a network - Stunt Car Racing seems to work just fine with 2 or more cars, but obviously each one is a collection of jointed Tokamak entities and suchlike, so I need to know how is best to run such a system over a network.
Split-screen is no problem, and the single Tokamak world and entities will exist and interact within the single program, but running over a network allows for a few possible options as far as I can see -
1. Run all the tokamak for all cars on one PC, then just get control input updates from the clients to control the cars locally, then send back the new positions for the visual entities only, and do no Tokamak at all on the clients.
2. Run Tokamak for the local car on each PC, then try to simulate the collisions using impulses etc...
3. Run Tokamak for the local car on each PC and ignore any collisions (Trackmania style) - not much fun this way.
The only other option seems to be to run Tokamak for the local car on each PC, then move a single tokamak body around in the world that represents each remote car. However I can see some real problems with the remote body hitting the local tokamak car, and I just don't see it working.
If anyone has any hints or tips on this I'd be very grateful to hear, as obviously 3 or 4 player over a network is more fun that 2 player split-screen.
To spark your interest, here's a screenie with 2 cars lined up ready to race -
Split-screen is no problem, and the single Tokamak world and entities will exist and interact within the single program, but running over a network allows for a few possible options as far as I can see -
1. Run all the tokamak for all cars on one PC, then just get control input updates from the clients to control the cars locally, then send back the new positions for the visual entities only, and do no Tokamak at all on the clients.
2. Run Tokamak for the local car on each PC, then try to simulate the collisions using impulses etc...
3. Run Tokamak for the local car on each PC and ignore any collisions (Trackmania style) - not much fun this way.
The only other option seems to be to run Tokamak for the local car on each PC, then move a single tokamak body around in the world that represents each remote car. However I can see some real problems with the remote body hitting the local tokamak car, and I just don't see it working.
If anyone has any hints or tips on this I'd be very grateful to hear, as obviously 3 or 4 player over a network is more fun that 2 player split-screen.
To spark your interest, here's a screenie with 2 cars lined up ready to race -
