Jump to content

Search the Community

Showing results for tags 'deviceorientationcamera initial rotation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hello everyone, I want to set my DeviceOrientationCamera initial rotation. I dig forum and found something about resetToCurrentRotation() but im not able to make it work. I want my DeviceOrientationCamera start with looking a target like ArcRotateCam What i mean by this I place my cam to right place but it look to wrong direction for initial position. cam = new babylon.DeviceOrientationCamera("DeviceOrientationCamera", position, scene); cam.rotationQuaternion.y = Math.PI / 2; cam.resetToCurrentRotation(); For example i want to turn my DeviceOrientationCamera X degree in Y axis then start controlling with device. What should i do? Thanks in advence!
×
×
  • Create New...