Jump to content
sizraide

Position camera into third person view

Recommended Posts

Hello,

I've been looking around lately, but I can't seem to find any forum that explains how to place the camera to third person view.

 

I'm trying to create a cutscene which a camera starts at initial position and moves into the position of third person view.

For now I have a script that moves the camera into eye position of player.

 

_camera camPreparePos getPosATL object;
_camera camCommitPrepared 0;

_camera camSetFocus [-1, -1];
_camera camPrepareFOV getObjectFOV player;
_camera camPrepareTarget ASLToAGL ((eyePos player) vectorAdd ((eyeDirection player) vectorMultiply 25));
_camera camPreparePos ASLToAGL eyePos player; //Positions camera into player eye level.
_camera camCommitPrepared 15;

 

Share this post


Link to post
Share on other sites
1 hour ago, dreadedentity said:

Use switchCamera, it will force the players camera into the supplied mode; can do external, internal, and other modes


Yes, I do know that. But my point is I want the camera to move from its initial position to the position of the third person view camera. To create a transition scene from camera to third person view seamlessly. 

Share this post


Link to post
Share on other sites

In CfgVehicles I found extCameraPosition that seems promising, although I didn't spend enough time playing with it to figure out how it works

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×