booboo4ever
11-30-2005, 07:17 PM
hello all,
i am starting to get into making custom controls for my rig and i have the following questions.
how can i aim constrain a plane to the camera, even if the camera is switched from front, to side, to perspective, etc. in other words, no matter what viewport you are in the plane will always be facing you. i am familiar with writing basic expressions and am learning a bit about MEL lately, so i assume one of these might do the trick.
also, this might be trickier . . .
now that the plane is always facing the currently selected camera, how can i make it so the plane can be moved left and right, but always stays within the view (possibly using the resolution gate) without sliding off to the top, bottom, right, or left. i basically want to give the user a way to move the control box for the rig to any part of the viewport, without accidentally sliding it out of the point of view. this one i got no clue on.
any help is appreciated. to me, i am thinking the first answer might be kind of a simple expreession or melscript. the second one seems complicated, but maybe i am wrong.
p.s. in the end the plane will more likely be a nurbs rectangle of course.
i am starting to get into making custom controls for my rig and i have the following questions.
how can i aim constrain a plane to the camera, even if the camera is switched from front, to side, to perspective, etc. in other words, no matter what viewport you are in the plane will always be facing you. i am familiar with writing basic expressions and am learning a bit about MEL lately, so i assume one of these might do the trick.
also, this might be trickier . . .
now that the plane is always facing the currently selected camera, how can i make it so the plane can be moved left and right, but always stays within the view (possibly using the resolution gate) without sliding off to the top, bottom, right, or left. i basically want to give the user a way to move the control box for the rig to any part of the viewport, without accidentally sliding it out of the point of view. this one i got no clue on.
any help is appreciated. to me, i am thinking the first answer might be kind of a simple expreession or melscript. the second one seems complicated, but maybe i am wrong.
p.s. in the end the plane will more likely be a nurbs rectangle of course.
