Download

box collision and platform

Hi, I’m french so first excuse me for my english. I’m trying to do a platform game on laptop. Now I want to do a platform which moves according to the position of the player on the platform. I placed 9 “box collision” on my square platform (1 in the center and 8 on the sides). I used the events “on component begin overlap” and “on component end overlap” for each box collision. But I have a problem. When the player go out of one box collision and go to an other, the platform doesn’t do what I want to do. I don’t know if I’m able to be understood but if someone has an answer, I’ll take it. Thanks !