Menu
  • HOME
  • TAGS

Add 90 degrees to a Quaternion in Away3d

actionscript-3,math,quaternions,away3d

Changing the order worked q.multiply(qu, q );...

TypeScript error TS2082 and TS2087 assigning Away3D canvas to a var

javascript,node.js,typescript,away3d

Assuming the error is in the following line : var awayContainer = document.getElementById('away3DContainer'); var awayCanvas = new examples.MinimalScene(awayContainer); awayContainer.appendChild(awayCanvas); // Error here It is because the type MinimalScene is not compatible with Node which is the expected for appendChild Quick fix : use any: var awayContainer = document.getElementById('away3DContainer'); var awayCanvas:any...

How to turn iOS camera off

ios,actionscript-3,air,away3d

If liveCamera is WebcamTexture from Away3D, it has a public method called stop :) Otherwise you should use attachCamera(null) to the video....