Box2D Platform body not moving player body along with it
- by onedayitwillmake
I am creating a game using Box2D (Javascript implementation) - and I added the ability to have a static platform, that is moved along an axis as a function of a sine.
My problem is when the player lands on the platform, as the platform moves along the X axis - the player is not moved along with it, as you visually would expect.
The player can…