Server side collision detection

Started by Enk, August 23, 2008, 01:45:56 AM

Previous topic - Next topic

Enk

Hi

I know this is kinda off topic, but it is possible to use jPCT to implement server-side collision detection? Or do I have to actually have a window rendering the world to do it? :P

I am a totally n00b when it comes to multiplayer-programming, but it seems like a good idea to let the collision detection be server side because of client perfomance/security.

EgonOlsen

#1
No, that's not a problem. You can simple use jPCT as geometry storage only on the server without doing any rendering. If there is no X-Server installed on the server (assuming that it is a Unix machine), you may have to set the headless system property even if you are not going to render anything but apart from that, it will work.