How to get intersection of objects in Maya?

Hello,

I have a set of small circles (LED display lamps) and a control object (selected circle). I need to set the value of some custom attributes on small shapes depending on whether they are inside the control object. I assume I will read custom attributes in the render engine (Vray or Arnold) and adjust the brightness of lamps accordingly.

How can I build such a setup in Maya? In Houdiny I could use Attribute Wrangle to get distance to control object to define custom attribute value, but have no idea how to do it in Maya.

Here is the Maya file.

Bifrost i would say.

Maybe a manipulator field would do it?

1 Like

Pretty sure you can do that with a Falloff object.
They’re a little clunky to work with, but if you’re only doing simple control object shapes …

GUID-BDB773FA-3AB7-49C8-B96C-5BD0D9DAD520

https://help.autodesk.com/view/MAYAUL/2022/ENU/?guid=GUID-95AA0392-3C50-403E-848F-F1A12ADABC36

2 Likes