How do you copy normals from one to another?

I have this script which copy the main texture to another object and works 100%.

GameObject.Find("OreList/PlanetView").renderer.material.mainTexture = thePath.renderer.material.mainTexture;

How would you use the same code for Bump Map or normals? So it would look something like this.

GameObject.Find("OreList/PlanetView").renderer.material.mainTexture = thePath.renderer.material.mainTexture;
GameObject.Find("OreList/PlanetView").renderer.material.mainBump = thePath.renderer.material.mainBump;  // This is just a guess of how it could look.  This currently does not work.

GameObject.Find(“OreList/PlanetView”).renderer.material.SetTexture(“_BumpMap”, thePath.renderer.material.GetTexture(“_BumpMap”);

Might work :slight_smile: