www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Enk on August 23, 2008, 01:45:56 am

Title: Server side collision detection
Post by: Enk on August 23, 2008, 01:45:56 am
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.
Title: Re: Server side collision detection
Post by: EgonOlsen on August 23, 2008, 04:39:58 pm
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.