<Collide> Tag from Maya?

Just checked it, the MEL script works. I think Josh just wasn’t familiar with how it works. It could use a simpler install method or a detailed manual page I guess. The script is basically a globally scoped procedure, executing makes it so that you can run the procedure from anywhere. So to run the script, you just have to call the procedure from the shelf or where ever.

Installation instructions:

  1. Open up maya’s script editor (Window>General Editors>Script Editor)
  2. Open the script in the editor and execute it (Ctrl+Enter or Script>Execute)
  3. Type “eggObjectFlags()” at the script editor and select the text.
  4. Middle mouse drag the selection into your custom shelf.
    optional
  5. Go to the shelf editor and give it a custom icon/name

Operation:

  1. Select the objects that you want to tag and press the shelf script
  2. Set the object type by going to the channel box of the object, there should be a new attribute called Egg Object TypesN
  3. For a collision mesh, set the type to barrier. Some of the other types are defined in the eggSyntax doc. panda3d.cvs.sourceforge.net/*che … Syntax.txt

Edit

ynjh_jo: do you know how to MEL Script? It seems to me that the material application procedures for 1.5.0 could be scripted and integrated into MayaPandaTool.mel