You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 0.5.2, I was able to put a Camera on a Node, then move the Node around to change the view. In 0.6.2, this broke, and although the Node moves, the view doesn't change. I haven't tested in 0.7 yet. I'll be back to post a test case...
The text was updated successfully, but these errors were encountered:
@michaelobriena It should be reproducible by doing something like this:
letcameraNode=someNode.addChild()letcamera=newCamera(cameraNode)camera.setDepth(1000)// animate the camera.letcamPositionZ=newTransitionable(0)~functionloop(){camPositionZ.to(6000,'easeInOut',6000).to(0,'easeInOut',6000,loop)}()letcameraAnimation=cameraNode.addComponent({onUpdate: function(){cameraNode.setPosition(camPositionZ.get()/3,0,camPositionZ.get())cameraNode.requestUpdateOnNextTick(cameraAnimation)}})cameraNode.requestUpdateOnNextTick(cameraAnimation)
The camera should move back and forth, but you'll notice it won't.
In 0.5.2, I was able to put a Camera on a Node, then move the Node around to change the view. In 0.6.2, this broke, and although the Node moves, the view doesn't change. I haven't tested in 0.7 yet. I'll be back to post a test case...
The text was updated successfully, but these errors were encountered: