Hi all, Sorry to create another thread on .fbx exporting, but I thought I'd pose you a query: I have my environment blocked out in Maya and plan to export it into UDK as an .fbx file. Now I know that I'll have to go through and manually delete and replace all of my instanced objects, (-_-) but I was wondering if anyone…
i just made a mel script that does a batch export of my objects, and moves them to 0 0 0 before export and puts them back after. pretty simple thing to make.
string $objects[] = `listRelatives -allParents $shapeNode`;if (size($objects)>1){ //Do whatever you want with the parent or instances. Parent is $objects[0]} Hope that helps. I'll try and see if I can get it incorporated in my FBX Exporter.
prolly possible, i will look into how sometime in the next day or 2. that is prolly easier in max since it;s easier to tell a instance from a object, but i should be able to check for rednundent shape data, and not export those ones.
Well, I finally got to a point in my project where I am exporting and so far so good! You guys have been a massive help :D Now, to see what they look like the other end in UDK...
global proc stupidMayaGlobals(){//Getting Selectionstring $sel[] = `ls -sl`;//Declaring outside loop so I can access it laterstring $objects[];//Cycle through selection for ($object in $sel){ //Get shape node of current string $shapes[] = `listRelatives -shapes -path $object`; //Get parents of shape node $objects =…
You know, I still haven't tried this out yet. I'm moving house over the next week or two, so things are going to be a bit hectic before I manage to give your methods a blast, guys.