Icy/Slippery Floor

Hi guys, working on a runner and I need some help with an ice floor. I’ve been trying to work with the current code but nothing seems to work- even if I add a Physics Material to it. :frowning:

		if (collision.collider.tag == "icefloor") 
			//PlayerSpeed = 10;
			Debug.Log ("Slippery!");
			rigidbody.velocity = rigidbody.velocity + rigidbody.velocity.normalized * 100 * Time.deltaTime;
			float amtToMove = Input.GetAxisRaw ("Horizontal") * PlayerSpeed * Time.deltaTime;
			transform.Translate (Vector3.right * amtToMove);		

Please help.

this might not be halpfull cause you said you have alrady tryed phys mats but just in case, remember to mess with phys mats for both your pc and your floor and if you havent yet check out the phys mats section of the unity manual (fast google search) thats all i can offer sorry if its not helpfull but maybe it will be