Jump to content
Sign in to follow this  
armatech

Setting Camera Pitch and bank

Recommended Posts

I trying set the pitch and bank of a camera this is a chunk of the code

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

UAV_Camera camSetPos _ballposoffset;

UAV_Camera camSetTarget UAV_CamTarget;

_pictchbank = _UAVunit call fn_GetPitchAndBank;

player sidechat format ["%1",_pictchbank ];

[UAV_Camera,_pictchbank select 0,_pictchbank select 1]call fn_SetPitchAndBank;

UAV_Camera camSetBank -60;

UAV_Camera camCommit 0;

if any one has a way to do it can ya let me know please as it will make the UAV Camera look pritty cool

Thanks

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
Sign in to follow this  

×