Ghost Trick fits here - very good port of a Nintendo DS game. You play as a ghost, inhabiting objects, and travel 4 minutes before people's deaths to try to change their fate.