Author Topic: Server side collision detection  (Read 3759 times)

Offline Enk

  • byte
  • *
  • Posts: 22
    • View Profile
Server side collision detection
« 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12298
    • View Profile
    • http://www.jpct.net
Re: Server side collision detection
« Reply #1 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.
« Last Edit: August 23, 2008, 05:56:25 pm by EgonOlsen »