PDA

View Full Version : planes facing the camera


A_GAME
04-10-2009, 11:09 PM
I was wondering how to make it so a flat plane always faces the camera in maya.

any takers?

dabu
04-11-2009, 12:11 AM
aim constrain the plane to the view axis of the camera?

Hans Schrijvers
04-11-2009, 12:25 AM
this must be the third time I am posting this:

You got to connect the rotation of the plane to the rotation of the camera you want it to face.

Here is a simple script that can help you out, enter it in your script editor and drag to your shelf to make a button. Then select the objects you want to turn into billboards and click the button.


string $sel[] = `ls -sl`;
for ($eachObj in $sel)
{
CenterPivot;
DeleteAllHistory;
connectAttr persp.rotateY ($eachObj + ".rotateY");
}

A_GAME
04-11-2009, 12:39 AM
woah, thanks!

dabu
04-13-2009, 09:42 PM
hans is a maya ninja