Explode Model

Added by Alex Adams 126 days ago

How do I explode a model which consists of 15 components so that I can apply textures and physics to some but not others?

These are my steps:
1. The model was created in AutoCAD by a third party
2. Import it into 3D studio max and move sections around and update textures is necessary
3. Export using the module I received from you into .X format
4. Use the ModelPackager to turn it into a .model
5. Insert the model into the assets directory to be drawn into VastPark

When it appears in Vast Park it is 1 model not 15 models so I'm not able to edit individually.
Am I doing something incorrectly?


Replies

RE: Explode Model - Added by Craig Presti 126 days ago

Hi Alex,

I think you have two options here:

  1. Export each sub-model individually, apply textures/physics to each individual model as required. This affords the most flexibility and is what I'd recommend.
  2. Export one model with 15 different material groups*, this will allow you to target each group with a specific texture but physics will still apply to the object as a whole. You can use invisible primitives as your physics colliders in this case and disable physics on your model. If you can get by for the moment with this approach it will be the fastest way in terms of your content pipeline, as you only need to export once from 3dsmax, but you will probably run into issues when you want to modify a specific texture on a specific material group during runtime (I think this is what you are asking to do?)

*Note: This is not supported very well in the current code, we plan to implement it correctly as part of v1.5