Orbit view script

Hi everyone. Please help!

Is it possible to make a python script able to reproduce the orbit movement in Blender (pressed mouse wheel)? Is it possible to make it without using an IPO?

I don’t need the camera to move in space, just rotate from its own center when i click and move the mouse…And i don’t need to limit the angle… I was trying to modify the “aim” script (Fps template by Social), but i was not able to do it :frowning:

Thank you!

I don’t understand - do you want Social’s aim script to only activate when holding down the mouse wheel or should the rotation be slightly different?

Most of the mouse look scripts don’t have a limited angle anyway. It shouldn’t be hard to find one.

You could parent the camera to an empty or invisible cube and move that. Distance it from the camera so when that moves the camera swings like in an orbit.

Found it: http://blenderartists.org/forum/showthread?t=32748

Thank you everyone,

Thank you 0.