≡
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: "Intern?tional"
(you are not logged in)
Text:
[quote][b]KK[/b] wrote: Having 2 cameras brings up one problem. When switched between them their position in space is not the same anymore (when moved around). I tried to set their position relativ to each other - but it did not work. Anyway, I got it working now! The problem was that it did not work when there is no cam set up in CC. Adding the lines "scene.getRootSceneNode().addChild(cam); scene.setActiveCamera(cam);" did the trick... For any others who are wondering about this: From here on you are better off using "cam.getAnimatorOfType('camerafps').setLookByMouseDown(true);" instead of removing and re-appling several animators. Thanks mucho grande, Niko[/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