align 3d view to surface

 From:  Michael Gibson
9607.4 In reply to 9607.3 
Hi Quaritexa, it's pretty close. One thing is put the script: label at the very start, then you can put the /* */ comment after that.

For rotation maybe the only way currently is by the tiltAngle property.

I'll see about adding in a new method that takes a camera, target, and also an "up" direction vector. I think you can get a viewport's "up" direction from cameraFrame.yaxis but there isn't a way to set it directly. I think the tiltAngle should be an angle value that is how much the current up direction is rotated away from the world z axis.

- Michael