View Full Version : models facing camera with expressions
schobbejak 05-04-2005, 03:54 PM Hi all. I want a lot of planes acting like sprites (allways facing the camera). I need to do this with expessions, preferably only in the first frame of the animation (like setting an aim-constraint). how should i do this?. I don't know how to set a constraint with mel.
|
|
StuartVarrall
05-04-2005, 07:20 PM
Can i ask why it's necessary to do this using expressions? It's very easy to just do it with aim constraints as you suggest.
cheers,
stu
YourDaftPunk
05-04-2005, 07:29 PM
Mel is easier than creating expressions. This creates a camera and a plane (oriented up) then constrains:
camera;
polyPlane -ax 0 0 1;
aimConstraint -offset 0 90 0 camera1 pPlane1;
It wouldn't be hard to have it randomly place many planes and constrain them all to one camera. If you don't know a command in mel, like aim constraint, go through the process in maya then open the script editor. The command will be there along with the // result //.
schobbejak
05-07-2005, 10:00 AM
thanks yourdaftpunk; all i needed to know.
CGTalk Moderation
05-07-2005, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.