I want to make an ice floor which the player could slip on it. The floor code is as follow:
control = new RigidBodyControl(new BoxCollisionShape(new Vector3f(.5f, .5f, .5f)), 0); control.setFriction(0);
The player has a capsule collision shape and its mass is 70. There is no slipping effect when moving on the ice but when I tried to put a -1 friction for the ice (I know that this is an illegal value) there is a little wrong slipping effect. I tried to change the mass of the floor with zero friction and it was slipping and colliding with the player like an ice block. So how could I make an ice floor that has a zero mass and the player could slip on it?
I have another question:
How could I remove any z-axis physical movement from the BetterCharacterControl and from RigidBodyControl? I want a 2D like physics.