4
$\begingroup$

I don't want to move the camera to follow an object, but I would like to place an object using the currently selected camera.

The obvious use case is position text. 2D text could obviously be added in another tool (like Gimp). Other use cases could be aligning an object perpendicular to the camera (like a perspective gauge arrow).

$\endgroup$

3 Answers 3

6
$\begingroup$

The most obvious way is to align the object upon its creation. The option Align to View is present on all object creation operator's property, I use this mostly for text object. It will align the object's rotation to whatever active view perspective when the option is checked:

1a

When that's not possible, sometimes I use a bit of Python, too, assigning the camera object's rotation_euler to the object to be aligned. From Python shell:

C.object.rotation_euler = C.scene.camera.rotation_euler
$\endgroup$
1
  • $\begingroup$ Bah, I'm sure I even saw that option. Thank you Adhi. $\endgroup$
    – chrisp
    Commented Jan 3, 2014 at 8:44
1
$\begingroup$

Another option is to use a Track To constraint to cause the text to always point a particular axis at the camera. Regular grs controls can be used to position it, and the Track To constraint will keep it oriented toward the camera, even if you have to re-position it.

$\endgroup$
1
  • 1
    $\begingroup$ For text I would track the Z axis to the camera, and use the camera's Y as the up_axis $\endgroup$
    – Mutant Bob
    Commented Feb 4, 2014 at 23:28
0
$\begingroup$

Alternatively, you can set the camera as the object's parent if you're planning on animating your scene. Combine this with Adhi's answer to have it aligned. Select the text (or whatever), then the object (hold Shift), then CtrlP to set it as the parent.

$\endgroup$
1
  • 1
    $\begingroup$ Using the camera as the parent is good for text that stays at the same position in the frame. For text that moves through the frame with the objects in the scene, you'll want the Track To constraint. $\endgroup$
    – Mutant Bob
    Commented Feb 4, 2014 at 23:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .