Hello guys, after searching in the web about moving plataforms, I choose to implement a moving plataform using parenting triggers. The triggers are in the sides of the plataform, and when you enter in it you become parented to this, moving together with the plataform.
It works well if the plataform isn`t super fast. But my problem is, how can I check with the plataform crushed my player against some wall using a box collider.
Actually when it crushes the player, it only push the character inside the box collider. I was thinking to check in script something like:
if( characterInsideGround() && characterInsideMovingTrigger()) { die() }
but I don’t know how to check it, can someone give me some idea? Thanks