Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Collision Detection without a World!
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Collision Detection without a World! (Read 3819 times)
Melssj5
double
Posts: 724
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.
Logged
Nada por ahora
EgonOlsen
Administrator
quad
Posts: 12297
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.
Logged
Melssj5
double
Posts: 724
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.
Logged
Nada por ahora
EgonOlsen
Administrator
quad
Posts: 12297
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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Collision Detection without a World!