Quote:
Can you make the camera to delay a little, i mean character model to turn a little before the camera, as if the camera follows her... and for the FOV to increase when she picks up speed and softly decrease when she stops.
Yes and yes. I think the camera already does the second thing mentioned, unless I misunderstood you. As to the first question, yes I can make the player turn and the camera turn a bit slower, it's just a matter of adjusting a variable or two in the code.
EDIT:
@ nuclear_winter, change this in InitCamera(), camRotSpeed = .75; to this camRotSpeed = .25; , that should delay the camera as per your first question.
EDIT2: Oops, I tied camera tilt into camRotSpeed, I will have to adjust this before it works correctly. I will have to add a camTiltSpeed variable to seperate rotation speed from tilt speed. I will get these little issues fixed, hopefully tommorrow night. I actually already have it changed, but I want to play around with changing the values some more to make sure I don't have any more issues like that one and probably add some more adjustment variables before I re-upload it.
As far as inertia goes, I can make that more evident than what was shown in the examples by adjusting some variables in the GetCameraAccelleration() function.
Messing with the values of these 2 variables in InitCamera() function will change the feel of the camera quite a bit:
camRotSpeed = .75; // how fast the camera pan changes
camMoveSpeed = .1; // how fast the camera distance changes
The lower the values you change them too, the slower that camera will get behind the player and move to where it wants to be. If you make the values higher, the camera will basically stay right behind the player with no delays.
I will check out the listed cams when I get time. It finally dried up and I am harvesting crops again.
Loco
Last edited by Locoweed; 09/01/05 03:50.