camSetTarget – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
- [https://community.bistudio.com/wiki/User_talk:DreadedEntity DreadedEntity]
- [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)
::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

Revision as of 19:58, 11 December 2014

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