Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have a 3D object as an imported asset in Unity which i want to make updates to in Maya. The asset get's updated automatically in Unity when i save the object in Maya - but not in the project hierarchy where i have placed it in the scene.

Is there a way to keep the object with it's mesh collider when the model is updated without having to re-create it in the hierarchy for every iteration?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I'm not 100% sure on what you're asking, but here are two suggestions anyway:

1) Have you made a prefab of this object in the scene? Hopefully if you update the model, the prefab gets updated, so the object in the scene gets updated.

2) If that isn't what you want, you could try writing an editor script to do things for you. Look here: http://unity3d.com/support/documentation/ScriptReference/AssetPostprocessor.OnPostprocessModel.html

share|improve this answer
    
Indeed, using the object as a prefab solved the problem if the prefab mesh had the property "Generate Colliders" checked. –  Conny Sagnér Dec 7 '10 at 21:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.