I am creating a game where NPCs that are made up of physics objects can walk on a moving platform which is also a physics object. The platform moves through the use of prismatic joints with motors. When an NPC goes on the platform, the movement of the platform causes the NPC to slide around on the platform as the platform moves, speeds up, and slows down (the NPC has a low friction). While this is physically correct, it is not what I'd like to happen for obvious gameplay reasons.
Aside from adjusting friction is there any easy way to make it so that the NPC stays in place and can move about on the platform as if it is stationary, even though the platform moves, speeds up, and slows down?
Aside from adjusting friction is there any easy way to make it so that the NPC stays in place and can move about on the platform as if it is stationary, even though the platform moves, speeds up, and slows down?