From Bohemia Interactive Community
|
|
Line 1: |
Line 1: |
| 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?
| | |
| <code>cam = "camera" camCreate (player modelToWorld [0,0,30]);
| |
| cam camSetTarget (getPos player);
| |
| cam camCommit 0;
| |
| cam cameraEffect ["fixed", "front"];</code>
| |
| - [https://community.bistudio.com/wiki/User_talk:DreadedEntity DreadedEntity]
| |
| ::I think this is more appropriate for the script editing forum... --[[User:Strangepete|Strangepete]] ([[User talk:Strangepete|talk]]) 16:25, 11 December 2014 (CET)
| |
| ::::Wow that code works great, thanks IndeedPete! - DreadedEntity
| |
Latest revision as of 19:58, 11 December 2014