camSetTarget – Talk

From Bohemia Interactive Community
Revision as of 18:58, 11 December 2014 by DreadedEntity (talk | contribs)
Jump to navigation Jump to search

How the hell do I use these camera commands? All I want to do is make a camera above the player that points down at him, that's a good starting point. Apparently camSetTarget can't set pitch? cam = "camera" camCreate (player modelToWorld [0,0,30]); cam camSetTarget (getPos player); cam camCommit 0; cam cameraEffect ["fixed", "front"]; - DreadedEntity

I think this is more appropriate for the script editing forum... --Strangepete (talk) 16:25, 11 December 2014 (CET)
Wow that code works great, thanks IndeedPete! - DreadedEntity