problem with player on upright platform

Jun 16, 2009 at 10:27 AM
hi i have a slight problem. (thank for all the help in the past also) here it is when im in the air i can still move my player slighly! so if i jump when im next to a platform lets say on the right. so i jump and hold right my player cannot jump as high! proberbly because of the friction. but iv set the friction of the player to 0. is there any way to stop this? thank you for all your help
Jun 16, 2009 at 10:31 AM

is the friction of the plattform also 0?

Jun 16, 2009 at 1:33 PM
No the platform has a friction of 2 i think, thats why i wondered if there is a work around to solve this problem?
Coordinator
Jun 16, 2009 at 2:52 PM

The default way of computing the friction is by averaging the two friction coefficients. You can change that behavior to take the minimum of the two friction coefficients instead by setting PhysicsSimulator.FrictionType = FrictionType.Minimum

Jun 17, 2009 at 8:36 AM

thx jenbox i tryed that and it did work but it did not sit well with the rest of my simulation.

I i modifyed the code. I Added a ignoreFriction variable to geom class
and then modifyed the friction code to ingore all friction.

thanks for your help and all the best with farseer V 3