add rigidbody to player, to enable collision detection