Jump to content

Camera control not working on Firefox & Safary+Mac


Thierry Mil
 Share

Recommended Posts

Hello, babylonJs friends and lovers.  Here is my demo  :

http://free-visit.net/index.php/fr/23-modules-positions-50/building-entrance-webgl

It displays fine using automatically free-camera with a keyboard-computer (I put universal camera).

--- But the 3D scene, has an issue with the control of the camera , the keyboard keys (up,down left right) do not work.

==> in Firefox and Apple-Mac-Safary  typing those arrows key has no effect ( no error message..)

- works very fine with Chrome, Edge web navigators.

-  Firefox and Safary navigators : my keys do not make the camera move.

 

Question 1) What did I do wrong ?

Question2) Is there a known bug ?

 

Any hint is welcomed (I have been stuck with this bug for one week....)

Thank you all.

 

Thierry

 

 

 

 

Link to comment
Share on other sites

I have the Solution :

In my html file, I used to call hand.minified-1.2.js :

<script src="http://www.babylonjs.com/hand.minified-1.2.js"></script>

This was a mistake I suppose....

Now that I took this instruction away, the camera can successfully be controlled by arrow keys of the keyboard.

(what a relief !)

Tahnk you et vive babylonjs

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...