Game Development Community

collision issue

by hujuly · in Torque Game Engine · 05/11/2010 (1:05 am) · 2 replies

I'm a new guy of TGE. Here is my problem, how can I realize such a function, when it is my player's head hit the block, the block crushes, and when the player want to stand on it, the block will not break down. Thank you!!

#1
05/11/2010 (1:08 am)
the problem is how to differentiate the part that collide the blocks.
#2
05/12/2010 (6:21 am)
I guess it would be possible to check the direction the player is travelling when they collide. If they're heading upwards, break the block, otherwise don't.