How do I make a moving platform that you stick to?

Fill this out this info to make it easier for the community to help you! If you don’t fill out this information, your post may be deleted or removed.

What Wick Editor Version are you using?
1.19.3
Describe the Problem
I wanna make a moving platform you stick to

What have you tried so far?
looking on here

Do you have a Wick Editor File that we can see? Optional*
I just need the code

I’d check if the player is on the platform and set a variable for this state (onThePlatf=true)
when he leaves onThePlatf=false
on updtate as long as onThePlatf=true add the same displacement of the platform to the player on top of his regular movement

This is the logic. For real code you have to fill in the blanks

1 Like