Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 08-08-2015 , 10:10 AM
Registered User
Join Date: Apr 2015
Posts: 8

Multiple Attributes to drive an object?

Basically, I have a setup where I want a controller to control the visibility of multiple other objects, based on where the controller is (the controller's position), The controller goes along the X and Y axis 5 units on each axis (2.5 units in each direction from the centre, the centre being 0,0, the top right being 2.5, 2.5 and the bottom left being -2.5, -2.5). There are 3 positions on each axis that I am going to have the keys set up in.

Left is negative, down is negative, right is positive and up is positive. So the object with the biggest X and Y values would be visible when the controller moves to 2.5, 2.5. The object with the biggest X value but only the middle Y value would be visible when the controller is at 2.5, 0. The object with the biggest X value but the smallest Y value would be visible at 2.5, -2.5. This keeps going. For example, the object with the smallest X and Y value would be visible at -2.5, -2.5. The object with the smallest X value but the largest Y value would be visible at -2.5, 2.5. The object with the middle X value and the middle Y value would be at 0, 0.

If you have managed to get through those last two (very hard to understand) paragraphs, and still know what I'm on about, that's great! To put my problem into simple terms, is there a way to drive and object with the multiple attributes (eg. Transform X and Transform Y) at the same time when using "Set Driven Key"? I have tried making the X and Y attributes drive objects separately but it has failed.

Thanks in advance!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads