wtf... is nathan really that good that he can answer your questions before you even post them XD

bigpond

09-08-2010, 05:04 PM

hi Nathan,
why do you have a space in front of the name "bucket" in all those strings..? That would probably invalidate any comparisons...
i've tried eliminate the spaces within the string bucket name, and still doesnt work.
and why do you check the same thing three times..?
i forgot to mention it, i do that because i have three colliding objects (bucket1,bucket2,bucket3)

im really curious about this, because i manage to did this succesfully once. and when i tried it again. it doesnt work anymore.

royg

09-08-2010, 10:00 PM

i've tried eliminate the spaces within the string bucket name, and still doesnt work.Yes, but why are they there in the first place? Is the bucket in your scene called " bucket" or "bucket"? It matters, and you don't really seem to understand this.

thanks for the input royg !, yes, as you can tell. im really just starting to learn MEL
and need to do a lot of studying.
as for the namespaces, i put in there not because the object name have spaces but as the Maya read my proc like this;

after noticed that, i realize that my string $geoObj statement is always pointed on the objectShape
maybe that's why my proc not executed, because maya are looking for bucketShape1 and bucketShape1.collisionCheck
so,i put some fix to the proc, not the best approach but it manage works pretty well :)

Follow Us On:

The CGSociety

The CGSociety is the most respected and accessible global organization for creative digital artists. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. More about us on TheArtSociety.com