Hi Don, with the update to save/restore the "up" direction in addition to the camera and target point, this script now requires functionality that was added in for MoI v4 and won't work with MoI v3 anymore.
You can probably get it to work with v3 by changing the line in ViewManager.htm where the error is happening to this instead (removing the 3rd parameter):
code:
vp.setCameraAndTarget(cameraPoint, targetPoint);
That will then work with v3 but will reintroduce the problem that if the view has any "tilt" rotation to it that will be lost.
- Michael
|