I just started learning Maxscript and some of you might find my problems quite dummy.
What I'm trying to achieve is to get the boxes I create (purple) snapped to the faces of an existing object (green one). I guess there is various ways of doing this.
I created a script which sets up the pivot points and moves it at the end of the existing object position, but is a very ineffective way of doing it.
I've seen online people suggest using rayintersect or coordsys.
Any recommendations to get this?
Thanks in advance