I'm trying to implement horizontal moving platforms (with JumpThru behavior) and a controllable player sprite with the Platform behavior. Here's the catch. I don't want the player to move horizontally with the platform. So, the platform effectively slides out and under the player if they do nothing, and the player can move independently, without influence of the platform, while on it. Any help would be appreciated.
I browsed the forums and FAQ to see if a similar question had been answered elsewhere, but didn't find anything. Apologies if this has already been addressed in a similar thread.
Develop games in your browser. Powerful, performant & highly capable.
capx> http://s000.tinyupload.com/index.php?fi ... 2084251025
That's exactly it. I was able to achieve the same effect by comparing to your capx - hadn't thought about locking the Y vector. Thanks so much!