More scripts! Move and rotate camera to face a face
It's an impaled camera!! |
This will help when UV planar project from the axis does not yield and fiddling around trying to get the camera perfect sucks.
Unfortunately there don't seem to be there by default, so after a day of planning and scripting, here it is!
Have to revert to A Level maths mechanics about the centre of mass of a lamina and a spreadsheet to plan and check the values before I started scripting, but it's done!
All you have to do is:
- Select a face
- Edit 1 word of the script to the name of the camera you want to move
- Run the whole script
Few flaws though:
- You will have to dolly out to view the face
- The viewFit command (hotkey f) sometimes messes up the face centring
- I haven't got around to implementing something that translates the camera's local z until the face is fully in view
- Orthographic cameras might have a very clipped view
- Require another camera to translate it
Comments
Post a Comment