Hi,
I am trying to get a character to move with a vertical moving platform(cube).
I attached a boxcollider to the platform. I gave it a child element with another boxcollider.
This one is a bit bigger.
I use it as a trigger (if I would use the platform as trigger, the character just falls throught).
When the trigger is fired, I make my character a child of the platform.
Now it is not falling down. My problem now is, that the Collider is always calling OnTriggerExit and then again OnTriggerEnter.
I guess its because of the movement of the platform.
So I just disabled the childelements boxcollider. But now I have nothing to check, when my character leaves the platform.
Is there any solution? I searched the forum, but it seems, that there is no solution for the parenting method?
Thank you, and sorry for my bad english.