Author Topic: Collision Detection without a World!  (Read 3798 times)

Offline Melssj5

  • double
  • *****
  • Posts: 724
    • View Profile
Collision Detection without a World!
« on: April 08, 2006, 11:46:24 pm »
Is it possible to check collisions between several objects without adding them to a World.
Nada por ahora

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Collision Detection without a World!
« Reply #1 on: April 09, 2006, 01:00:52 pm »
No, there isn't. If you want to limit collision detection to several objects, you have to set their collision modes accordingly.

Offline Melssj5

  • double
  • *****
  • Posts: 724
    • View Profile
Collision Detection without a World!
« Reply #2 on: April 09, 2006, 06:09:35 pm »
I am using the server machine to manage all the events and collisions, so I use a World with all the objects built in there. But I think that I am wasting memory because that world never wil be rendered, wont have lights nor anything like that.
Nada por ahora

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Collision Detection without a World!
« Reply #3 on: April 09, 2006, 06:13:18 pm »
The overhead is minimal. You may reduce the maxPolysVisible on the server to same some more memory but even that shouldn't really matter.