How can you set the speed of the player to zero on a moving platform

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

hi
i would like to have a player who stops when he is on a moving platform, but the problem is that the platform is moving and so the player gliches around

use vector zero

Moreus | 2023-03-09 17:25

:bust_in_silhouette: Reply From: G2700

That doesn’t work because the player movement is relatet to the world and not to the movingplatform