View Full Version : crossing parameter in boxPickNode and circlePickNode commands and a proposal

01 January 2011, 06:48 PM
I'm trying to write some tool and I need to select all objects under the cursor. IntersectRay doesn't see splines, helpers and some other objects so I've decided to use boxPickNode command with very little box parameter. Unfortunately the main advantage of the command - crossing parameter - doesn't work. It doesn't matter, you set it to true or false - command selects just the objects that are completely withing the box/circle.
Is there any workaround to make crossing parameter work?

Fortunately fencePickNode command works well with two closely positioned points and crossing parameter set to true, so I've ended up with that command.

BTW I have a proposal - to create Wiki page or a sticky page here, at maxscript section of Cgtalk forums that will contain things in maxscript that don't work as expected (or don't work at all). I believe nearly every maxscripter will find something to write on that page :)
That kind of page would be very usefull for everone - if you have a problem you just look up your command in the list and don't waste your time.

CGTalk Moderation
01 January 2011, 06:48 PM
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.