Turntable template

I posted this over att the blender.org forums in answer to a question, but i thought it might be useful, so i decided to post it here as well.

This is a simple example of a turntable setup (check the attached file). The camera is rotated around an empty when the mouse reaches the sides of the screen.

I’m releasing it as public domain, so you may use it in any way you like.

I’d be happy to see any enhancements, or just a clean-up of the file, so please post any updates if you like.

Attachments

mouserotation.blend (151 KB)

How about using object.alignAxisToVect?

Attachments

untitled.blend (169 KB)

That’s nice, but it’s not really the same thing. The whole idea was that the mouse should be free to interact with the scene, and when you reach the borders the camera revolves around.