added physics to player