Hi all.
I want to Istantiate a GameObject at runtime using:
Instantiate(Resources.Load("my_3d_model", typeof(GameObject))) as GameObject;
The problem is that,in this way,I can’t generate any automatic Collider for my object.
What I’m looking for is a way to automatically generate colliders for my Object when i Import with Resources.Load,just like you can do in the Import Settings (checking ‘Generate Colliders’).
Any help is appreciated,thanks!