Game Development Community

(BETA 4) Decals not showing up on many objects

by Greg G · in Torque 3D Professional · 07/28/2009 (11:52 am) · 3 replies

I'm a little confused. Many of the objects I bring into T3D have problems with decals. If I simply take a sphere and export it as a COLLADA file and then place it in a mission and then try to place a decal on it nothing shows up.

However, many other objects such as most of those in the warrior camp mission work fine with the same decals.

Is this a known issue or am I doing something wrong.?

#1
07/28/2009 (12:38 pm)
Possibly bad or missing normals on your Collada exported mesh?
#2
07/28/2009 (12:44 pm)
No, it was because I had the wrong collision type. It was set to "Collision Mesh" by default. I had to change it to "Visible Mesh" for it to work.

Was this documented somewhere and I just missed it, or is this a bug?

Sure was confusing for me :P
#3
07/29/2009 (1:33 pm)
Decals clip against the same collision representation of the object that objects collide against. So if you have an object set to "Collision mesh" but it does not actually have any convexes defined it has nothing to hit.

"collision type" is new in beta4 so it might not be mentioned in the docs yet, i don't know for sure.