[ODE] Optimizing entities collision

Jose Marin jose_marin2 at yahoo.com.br
Fri Sep 16 12:35:23 MST 2005


Hi.

I'm using ODE as the only physics and collision
detection system on my game.

I have 6 types of entities:

1) the static environment
2) the itens (health, ammo)
3) the enemies (monsters)
4) player bullets
5) enemies bullets
6) the player

This needs optimizations, because some entities don't
have to be collision checked with other. For example,
the entities of class 1,2, 4 and 5 don't have to be
checked with the same class (one bullet don't have to
be checked with another bullet).

Is there some way of optimizing this?


Maybe using spaces? Flags?

Thanks for any tip!

Jose




	

	
		
_______________________________________________________ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! 
www.yahoo.com.br/messenger/


More information about the ODE mailing list