Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, is it possible to change the camera’s FOV value when called on, something like FOV adjustment buttons (to set it at 70, 90, 110, etc.) for a game in CopperCube? Any help is appreciated. :) |
||||
|
yes, you can use var s = ccbGetSceneNodeFromName("Camera1"); var fov = ccbGetSceneNodeProperty(s,"FieldOfView_Degrees"); ccbSetSceneNodeProperty(s, "FieldOfView_Degrees", fov + 0.3); set -- fov + 0.3 -- to be -- fov + (any value you want) -- |
||||
|
Thank you |
|