bullet ricochet

how do I make a 3D object (bullet) ricochet off of a wall or object? when I shoot a wall the bullet slides against it instead of bouncing off.

nevermind, I fixed this by adding a new Physics Material to the bullet that has alot of bounciness.