0
votes

In unity3d i make GameObject > 3D Object > Cylinder And this Cylinder have the components: Cylinder (Mesh Filter), Capsule Collider, Mesh Renderer. I can add the last 2 components to my exported Cylinder from blender but i can't add the Cylinder (Mesh Filter) component. What is Cylinder (Mesh Filter) ? It's just a Mesh Filter component ?

Now i have some problems. I created some Cylinders in blender. All of them i did using Knife Project. And the last step was to click on Delete > Faces. If i'm not clicking on Delete and make delete faces it will not cut the hole.

The first problem is in the first cylinder i created in blender i cut a simple circle hole and it's working fine exported it to unity3d. But the next cylinders i exported for some reason when i'm looking at them from the front they are hollow i see the other side outside but if i'm moving around from the back it's not hollow. Not sure why.

In this screenshot the cylinders i exported and that are in unity3d. The one that is fine is on the left. The others on the right hollow like the hole cut was to the other side but if i will look from behind it's not open in the back:

Front

Back:

Back

The cylinders on the right i changed the circle the one on the left i didn't changed it only rotated it.

My main goal in the end is to create a cylinder in blender with just a hole i can walk inside with my character in unity3d.

The on the left seems fine but the hole too small and high so i can't walk in.

Forgot to add a screenshot of this cylinders how it looks like in blender. In blender it looks fine only in unity it looks hollow side to side from the front:

Cylinder blender

1
Are you sure the walls of the latter cylinders have any thickness? If they don't have faces on the inside of your cylinder, they'll be invisible due to Unity performing back-face culling. - Serlite
@Serlite i added now a screenshot to my question of the blender how the cylinder looks like there. Seems fine only in unity it looks hollow side to side. thickness you mean using solidify modifier and change there the Thickn ? - Daniel Halfoni
As in, ensure the wall of the cylinder isn't just as thick as a single plane. If it doesn't have any actual thickness to it, it means that there are probably no faces pointing inside your cylinder, so Unity won't render anything when the camera points inside it due to back-face culling. - Serlite
@Serlite right thank you it's working now. Now i need to find how to make that the character will not walk through the object in unity. I can use capsule collider but then i can't walk in. Any ideas some lead direction what to do ? - Daniel Halfoni

1 Answers

0
votes

You simply need to flip your Normals in Blender. That is the reason you are seeing the this effect in the whole of your cylinder. Follow this tutorial for the inside faces of your cylinder.