Hey there, good people!
I've been testing and playing around with platforming behavior and a grabbing mechanic that some of you helped me with a while ago and I've run into another little problem I can't figure out how to get past.
I've made it so my player object can stand on and jump from a moving platform. I've however run into some problems getting the player to follow along a horizontally moving platform when hanging underneath it. I've tried with pinning the player underneath it when grabbing on, but it doesn't allow the player to move from side to side while hanging.
Is it possible to access the left/right movement that follows the platformer-behavior and make them relative to the movement of the platform somehow? This would also make it possible to get the right behavior while hanging on the sides of a horizontally moving platform.
It's kind of a tricky thing, and I wouldn't ask for help unless I could figure out how to solve it. I dunno if I've just missed something really simple or if I'm just looking in the wrong places.
What do you think? Any ideas?
Arrows to run, space to jump and shift to grab onto something. (it's just a testing environment so don't expect much for level design