Hi guys,
I am making a 2D sidescroller that happens to have moving platforms. Thanks to your help I was able to implement them, but now I am facing another issue regarding them.
When the platform is moving downwards (it keeps moving up and down) and the player lands on it, they never actually collide (I put a breakpoint inside beginContact). The player keeps on accelerating, but his position is not updated accordingly as he accompanies the platform without touching it. Finally, the collision only happens when the platform starts to move up.
Then, I tried to set the players body bullet flag to true, and everything started to work as expected. Could someone explain to me how did this happen?
I am making a 2D sidescroller that happens to have moving platforms. Thanks to your help I was able to implement them, but now I am facing another issue regarding them.
When the platform is moving downwards (it keeps moving up and down) and the player lands on it, they never actually collide (I put a breakpoint inside beginContact). The player keeps on accelerating, but his position is not updated accordingly as he accompanies the platform without touching it. Finally, the collision only happens when the platform starts to move up.
Then, I tried to set the players body bullet flag to true, and everything started to work as expected. Could someone explain to me how did this happen?