≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Change camera-mode at runtime
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b]KK[/b] wrote: There is only one camera in the scene - means the cam is active. I try to turn the existing (click&drag-) camera into a FPS-controlled one. I figured a way to do this: [code]var engine = startCopperLichtFromFile('3darea', 'copperlichtdata/Check_ControlFF.ccbjs'); engine.On***Loading***Complete = function() { var scene = engine.getScene(); if (scene) { changecamanim1 = function() { var cam = scene.getSceneNodeFromName('Camera1'); var animator = new CL3D.AnimatorCameraFPS(cam, engine); cam.addAnimator(animator); animator.setLookByMouseDown = false; } } }[/code]It is working to change the camera from FPS-style to non-FPS-style - but not the other way around. Is this a bug?[/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