Simpanra
Senior Member
Posts: 314
Threads: 28
Joined: Mar 2011
Reputation:
0
|
Camera Zoom In and Out [SOLVED]
hi =)
quick question;
what is the function for making the camera zoom in or out (it is featured in Electric Castle though i can't find it, it is used when you can first walk towards the castle and the camera is zoomed in a lot)
Also; what are the default settings for this function?
Thank you =)
Edd,
(This post was last modified: 05-16-2011, 06:15 PM by Simpanra.)
|
|
05-16-2011, 06:10 PM |
|
Khyrpa
Senior Member
Posts: 638
Threads: 10
Joined: Apr 2011
Reputation:
24
|
RE: Camera Zoom In and Out [Need Help]
FadePlayerFOVMulTo(float afX, float afSpeed);
Changes the field of view of the player. A shorter FOV will create a zoom effect.
less than 1 is zoom
|
|
05-16-2011, 06:12 PM |
|
Simpanra
Senior Member
Posts: 314
Threads: 28
Joined: Mar 2011
Reputation:
0
|
RE: Camera Zoom In and Out [Need Help]
Wow! Amazingly fast reply! =D And thank you very much man! =D I owe you one ^_^
Edd,
|
|
05-16-2011, 06:14 PM |
|
Roenlond
Senior Member
Posts: 331
Threads: 3
Joined: Apr 2011
Reputation:
0
|
RE: Camera Zoom In and Out [Need Help]
you can also use MovePlayerHeadPos(float afX, float afY, float afZ, float afSpeed, float afSlowDownDist);
The Z coordinate will push your head forward iirc
|
|
05-16-2011, 06:15 PM |
|
Simpanra
Senior Member
Posts: 314
Threads: 28
Joined: Mar 2011
Reputation:
0
|
RE: Camera Zoom In and Out [SOLVED]
Ah cool thanks ^_^
|
|
05-16-2011, 06:16 PM |
|