≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
change pov / aim if a button pressed
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: actually, the above code provided by @outlawsoftware is not the complete code. the whole code should go like this. [code] var camera = ccbGetActiveCamera(); ccbSetSceneNodeProperty(camera, "FieldOfView_degrees", 4); [/code] the above code deals with whatever camera in your scene is Active, you can change the value "4" to your desired value which fits perfect for you. by default coppercube uses a value of "72" here is another piece of code if you don't want to do it with the active camera but instead want to do it with a specific camera. [code] var camera = ccbGetSceneNodeFromName("Camera1"); ccbSetSceneNodeProperty(camera, "FieldOfView_degrees", 4); [/code] here change the "Camera1" with the name of your camera, which you want to change the field of view. and the value "4" goes the same as the above code. *holy**holy*[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact