different collisions

Empaler

10-02-2010 16:36:35

Hi,

In my project i have 2 types of collisions and i need to do different stuff when they occur.
1st type is when the player collide with the bsp map and the 2nd type is when the player collide with an object box.

How can i do that?

Thanks

PJani

12-02-2010 03:59:50

You can setup that using different material ids and material pairs. And when contact happends virtual method gets called. :).