Hey,
I’m new to Unity and I’ve been working away at learning what I can, but I came to a problem just recently. I’ve imported a model of a coin that I had made in Cinema4d last year, animated to rotate like a coin in Super Mario Bros., but for some reason, the coin doesn’t rotate when imported to Unity.
Then, looking at the coin while in Unity, I noticed another problem - The faces of the coin disappeared. They had been made as bump maps before; is there any way to do that with Unity or a setting I need to change for the bump map not to be lost?
Rotation: All I did was drag the C4D file into the project. Could that somehow be the problem?
Bump map: I tried to do what you said, but for some reason the only thing that happens is that the coin changes to a lighter and slightly greener gold color.
try exporting as FBX and check if there are some specific options. Unity will convert the c4d to fbx through cinema anyway behind the scene, it will not load the c4d. So this could potentially help.
Is the bumpmap a normal map (color) or a grayscale map?
The bumpmap is colored as the original image file is. Does that make a difference?
I tried exporting from C4D into an fbx file, but nothing was different. Could the problem be because I assigned the rotation keyframes to a null object which the components of the coin are children of?
EDIT: I tried remaking the model in a more organized manner to try to get the animation to work. I got the coin to rotate, but definitely not the way I wanted it to - The inner portion rotates the opposite direction of the outer edge, and stops at only 270 degrees, then the animation loops again. I’ve checked all the objects’ orientations in C4d and have come up with nothing that could be the cause of the problem. Any ideas?
that wouldn’t be a bumpmap then in common cases but a diffuse map.
Normalmaps are colored according their normal direction
Bumpmaps would be grayscale and the hue depends on their height. As this is independent of light etc this type of map is not beeing used anymore for bumpmapping. Grayscale textures are mainly used for displacement mapping today, which is no visual effect but a geometry effect that deforms the vertices according the texture.
Well, I figured out the rotation problem. Since I had made the coin out of two parts(a wide cylinder for the faces and a slightly thicker and hollowed-out one for the raised edge), and since one was a parent of the other, either one part would rotate, or, if I had set the parentage wrong in either program, one would rotate the opposite direction. I managed to fix this problem by using a Connect object in Cinema4d to combine the two pieces into a single mesh.
As for the bump map, that was an easy fix once dreamora explained that I was using the wrong image.