My character is in a physics world with hills in it. I’m using a SphereImpostor for the character and a MeshImpostor for the world. When they are on the side of a hill, they slide down the hill, which is good, but I’d like to be able to control how steep the hill needs to be before they slide. In my world, even a very shallow incline causes the character to drift slowly. I’ve tried changing the friction on both impostors up to 500, and it does slow things (including normal movement), but I’m still drifting on shallow inclines. I played with
registerBeforePhysicsStep, even setting the impostor’s linear and angular velocity to 0, but still I’m drifting.
Is there any way to get the physics to let my character stop entirely, either through manipulating the variables (such as friction) or by manually modifying things in process (during the before physics step or somesuch)?
Thank you for your help!