Jump to content

How to work with FreeCameraMouseInput


Recommended Posts

Hi everyone! I'm curious to know about the FreeCameraMouseInput. I have tried to find something in Google, but it gives me only 5 answers: to the GitHub and to the doc.babylonjs.com. Is there any tutorial or perhaps someone can write here how to work with it in few words? I've studied example http://www.pixelcodr.com/tutos/shooter/shooter.html, and there 'babylon.1.14-beta-debug.js' was used. So 'FreeCamera' class can lock the pointer and also rotate camera after the mouse. That is why author Julian Temechon said nothing about rotation. But in 'babylon.2.4.max.js' class 'FreeCamera' can't rotate camera. And 'FreeCameraMouseInput' can. So, that's why I'm interested in it. I don't know how to include it in my programm and how to work with it, different errors occur.

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.

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.


  • Recently Browsing   0 members

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