≡
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][/b] wrote: EDIT: Never mind this problem, I am not sure what had happened, but I sent the copperlicht file to the server again, and now everything works fine... (I resent it because I was finding all sorts of problems and I was on my last leg, lol) I leave my initial remarks just in case someone else has the same problem in the future... solution: resend your copperlicht.js file to the server... Well, I have the same problem, and following your advice has not fixed it.. I have two animators too: AnimatorCameraFPS AnimatorCollisionResponse For the AnimatorCameraFPS I need to switch from setLookByMouseDown(false) to setLookByMouseDown(true) and as for you it only works if I set it to false (if I set it to true I simply can't look around anymore). I have tried these two ways of doing it: I first declare the animator and then add it to the camera (once the scene is loaded, in my main xhtml file). [code]FPSAnim = new CL3D.AnimatorCameraFPS(CameraMain, engine); FPSAnim.setLookByMouseDown(false); CameraMain.addAnimator(FPSAnim); [/code] and then within my JS file I tried this: [code]FPSAnim.setLookByMouseDown(true);[/code] and this: [code]CameraMain.getAnimatorOfType('camerafps').setLookByMouseDown(true);[/code] But neither work Actually, and this is the strange thing, it works perfectly on my computer but as soon as I put it online it doesn't anymore... I know this is an old chat, but as the problem is exactly the same I have put my comment here. Any solution to this?[/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