N
N
Nikita2020-05-01 22:34:34
Blender
Nikita, 2020-05-01 22:34:34

How to rotate an object towards the 3D cursor?

So, the basic task is to make the object look towards the 3D cursor. It is possible some built-in function, or a script.
My situation: There is an area around which you need to manually place a lot of identical objects "face" turned to this area. I will arrange using the method => Shift-Tab (Snap; to Face; Active) => Alt-D (Duplicate with link).

If I needed to evenly arrange objects along a curve with a certain offset, then I would use the Array and Curve modifiers, and then I would divide them into separate objects => P => By Lose Parts, and then I would connect them with one grid (Mesh Data) with original object => Ctrl-L => Object Data. And in that case, they would all turn around the corner of the curve just in time for this area!
But I need to manually arrange the objects, and so that all new and duplicated objects immediately start looking towards the 3D cursor. Perhaps the question is simple, and I don't know about some existing functionality, if not, I need some help in writing a script for this.


For the time being, I myself will start manually deploying them in groups according to an individual pivot, which is inconvenient, and it will not be smooth, since I am not going to rotate each one to the desired angle.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question