Hi guys ,
Another new guy here.
Anyways I'm new to farseer and so far i'm amazed by all the stuff you can do with it.
I'm trying to work out some platform game and I've stumbled upon a rather "basic" problem. I'm trying to make a vertical moving surface/platform , and i want my player to be able to walk on it. However , when the platform starts descending, the
player (naturally, since he's not connected to the platform) does not "stick" to it.
(Pic of the problem)
I've also attached a testbed scenario to reproduce my problem. (Link from my dropbox here)
I've tried :
1. Increased the mass of the player circle , and make the surface kinematic (so that when the player steps on it , does not drag it down cause of his mass)
I'm thinking of subscribing to the surface's OnSeparation, and apply the downward velocity/force manually (since the moving platform has constant moving speed), or maybe even when i switch the moving direction..
Is there any better way to implement this ? Any suggestions?