Switch to another camera position?
Okay, in that photo, i want to make the game seem to get up from that chair, just to get to the other one without having to have 2 scenes in the process. If anyone can help that'd be absolutely amaze.
C# or Java!
Answer by EpiFouloux · Jun 14, 2016 at 02:34 PM
well the Camera is a gameObject, with a transform like everything else ! You can move the camera through scripting (attach it to the camera) :
public class camera_script : MonoBehaviour
{
public void move(Vector3 position)
{
this.transform.position = position;
}
}
it will move the camera position, but you also need to change rotations I guess, and do all of it smoothly !
I think you need a player object, with a RigidBody component, with the camera attached to it, and move the player.. But I don't think I get the purpose of your game
Your answer
Follow this Question
Related Questions
How To Show a Question UI Canvas After Collider ? 1 Answer
not run app again when read nfc tag 0 Answers
Help, Losing lives too easily 1 Answer
Unity Package Manager Error 0 Answers
AI walk around and flashlight stop 1 Answer