≡
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: "Internatio?al"
(you are not logged in)
Text:
[quote][b]kingkohle[/b] wrote: Hi.. I try to switch between the click&drag-camera and the fake FPS-camera. Here my function: [code]var engine = startCopperLichtFromFile('3darea', 'copperlichtdata/Check_ControlFF.ccbjs'); var scene = null; engine.On**Loading**Complete = function() { scene = engine.getScene(); scene.setRedrawMode(CL3D.Scene.REDRAW_EVERY_FRAME); } changecamanim1 = function() { var cam = engine.getScene().getActiveCamera(); cam.getAnimatorOfType('camerafps').setLookByMouseDown = false; } changecamanim1();[/code] All I get is an "syntax-error" in /copperlichtdata/myfile.ccbjs Any ideas? Thx[/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