Make Object Look at Another Object

Make Object Look at Another Object

Maya 2012 Tutorial


How to Make One Object Look at Another Object in Maya



You may have two objects in your scene and you want one object to "watch" and follow the movement of the second object. It may be an eye ball watching some action or a sea of faces watching a tennis game.


For this example we will add two primitives (a cone and a cube) to the stage and have the cone watch the movement of the cube.


Step One

Add a primitive cone and cube to the workspace by choosing Create > Polygon Primitives > Cone then Create > Polygon Primitives > Cube.

Step Two

Using the Channel Box, move the cube to -12 in the x direction and -12 in the z direction.

Step Three

Using the Rotate tool (e key) rotate the cone so it is pointing at the cube.

Step Four

Select the cube, then shift select the cone ( the order is important) and choose Constrain > Aim from the Animation menu set. Be sure to include the options.

Step Five

In the dialog box, choose Edit > Reset Settings and click the Maintain Offset checkbox. Click the Add button.

Step Six

Using the Move tool (w key) drag the cube and notice that the cone follows it's movement.

How Do I Remove a Constraint?

If you have created an Aim Constraint and you want to remove it, simply click the cone and open the Hypergraph (Window > Hypergraph: Hierarchy). In the Hypergraph, click to select the constrain node and press the Delete key.


Shutterfly 50 Free Prints 160x600