Game Development Community

How to create shoot trough block in torque???

by Dgdsfg · in Torque Game Engine · 03/08/2004 (12:18 pm) · 4 replies

How to create shoot trough but not possable block in torque???

#1
03/09/2004 (2:11 pm)
What?
#2
03/09/2004 (2:50 pm)
Do you mean:

How do you create a block that you can shoot through, but that the player cannot pass through?
#3
03/09/2004 (8:52 pm)
Use object type masks, probably.
#4
03/10/2004 (5:17 am)
Best way is to have a new object type that is on the player/vehciles collision list but not on projectiles.

Another thought would be to have a trigger that applies an impulse to entering players in the opposite direction of their velocity vector. This wouldn't be quite as good but is a script only solution.