How to detect collisions while changing position

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By TopBat69

Hi, I have made moving platforms for my platformer in which there is a kinematic body with two tweens attached to it,one for moving the platform and one bringing it back and it continues in a loop.

But what I have noticed is that it does not detect collision and stop while its changing its position.

Does anyone have a solution for this?

You may want to post some code of what you’re trying to do. It might help with getting an answer.

SnapCracklins | 2022-08-18 17:58

:bust_in_silhouette: Reply From: SteveSmith

Use Areas to detect the collisions.