Added debugging output for player location and velocity.