If I got your question right you want to rotate the gameObject, but not the camera (it should be fixed like in Pokémon Colosseum or Diablo). That means that you'll need to use one script for the gameObject and one for the camera. The script you posted for the gameObject will probably work fine (though it could be shortened). Here is the script for the camera: http://pastebin.com/eaaJSz30
Note: The camera should NOT be a child to the player
↧