Hi, is there some way to acchieve this smooth camera motion system ?.. is really soft :
i actually thinking in something simple like this but it won´t work :
var thePlayer : transform; //The player
function Update (){
transform.Translate(Input.mousePosition.x, Input.mousePosition.y, 0);
transform.LookAt(thePlayer);
}
Just want to move the camera like the video, with mouse …
some tips?
thanks in advance…
Real quick cos I dont have much time.
The basics are a smooth follow camera. Which is in the standard scripts. I believe that the smooth follow camera has a “softness” factor in it of sorts that will accomplish this.
Past this, if you wanted the communication camera, This is really nothing but a point centered between the heads of the characters, rotate the camera to angle that is a random of about 30 to 60 degrees to the player either positive or negative. at about 15 degrees up on the X axis, transpose the camera backwards about 10 units and view them talking. You could do a check to see if there is anything in the way and either bring the camera to that point or select another rotation.
Either way, I would go over the Smooth Follow camera and get a good grasp on how it works. There are other methods some of them fairly simple.
hmm, interesting make it randomly, what i have tried too is to attach an empty to the player as a child, create a smooth animation to that empty, and the camera smooth looks at the empty, the animation loops while the player is walking, and stops when the player is idle, that makes the sense of a soft movement of the camera while player is moving too… i will check what you said… thanks.!