Jump to content

Search the Community

Showing results for tags 'deviceorientationcamera'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 4 results

  1. Hi, I would like when I start the device orientation camera that the orientation is as a real world? For example, if I create 4 cubes around me with north, east, west and south, I want to see the north cube when my smartphone is facing north. Thank you very much in advance for your help. Stephan
  2. Hey there, I noticed that the DeviceOrientationCamera start direction is different when the users device is in portrait vs landscape mode. Portrait is correct, where as Landscape is off to the right when compared to other cameras. Is there any way I can sync these two up without moving objects in my scene? The same issue occurs with VRDeviceOrientationFreeCamera. Sidenote: I did see resetToCurrentRotation() in babylon 2.5 but it doesnt resolve this issue. Thanks!
  3. Been trying out the deviceOrientationCamera and cannot get it to work on my tablet (Android 5.1 ) Attempt at http://www.babylonjs-playground.com/#12WBC#74 I also noticed that whatever I set the xxxxxSensibility s to they read as 0 (but this was on a PC that has no orientation). Does it work on anyone's mobile device? Any ideas on what to change?
  4. So when implementing the DeviceOrientationCamera on mobile, and the device changes from portrait to landscape, the camera controls don't update to the new orientation. It remembers the original portrait orientation, they don't switch over to the landscape controls. Any idea on how to correct this? Here is an example. On mobile, start in portrait, and then rotate to landscape. You'll see the controls get all wonky. http://www.babylonjs-playground.com/#PNQPP#1
  • Create New...