Ignore collision by class?
by Nicolai Dutka · in Torque Game Builder · 04/02/2008 (4:12 pm) · 2 replies
I am wondering if I can tell objects to ignore collisions from a specific script object class?
I have 3 main types of objects in my game, so I gave each type a class:
player
enemy
pickup
I want to tell the player it can collide with all 3 classes.
I want the enemy to collide only with the player class and not the pickup class or other enemy class objects.
I want the pickup class to collide only with the player class and not the enemy class or other pickup class objects.
What would be the best way to do this?
I have 3 main types of objects in my game, so I gave each type a class:
player
enemy
pickup
I want to tell the player it can collide with all 3 classes.
I want the enemy to collide only with the player class and not the pickup class or other enemy class objects.
I want the pickup class to collide only with the player class and not the enemy class or other pickup class objects.
What would be the best way to do this?
Associate Phillip O'Shea
Violent Tulip