Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Help in Transferring from Blender to unity

A topic by sokut3500 created Jun 07, 2024 Views: 178 Replies: 2
Viewing posts 1 to 3
(1 edit)

Hello everyone, I've seen a couple of video in YouTube about transferring from Blender to Unity. but finally I couldn't solve my problem. Suppose I have created a cylinder in Blender with dimension (2,2,4) . I follow all the instruction in transferring to unity(scale and rotation). Suppose now I want to put this cylinder in a cube(enclose it). I create the cube by PrimitiveCube. But the created cube is always smaller than the cylinder. I defined to script get the cylinder bound and pad it a little bit, It means the cube should be bigger than the cylinder. But it is smaller!!! Have anybody idea how can I import it correctly in Unity? I mean I want to combine an object(imported from Blender) with an object from unity, but they are not match together!!!
Thank for your help

(1 edit)

If you're making simple objects, use ProBuilder inside Unity.  (Windows - Package Manager - ProBuilder.) There are tutorials on Unity learn that will show you how to use ProBuilder.

To do what you're doing you would need to keep the objects separate. So import the cylinder as a separate object and keep the cube as a separate object. That way you can freely resize both of them. If you place their transform positions on the same spot it will appear as if the cylinder is inside the cube (assuming the cube is transparent).

Thanks for response,

actually my object are a little more complex. Now I'm trying with some simple shape(like cylinder), but in future I want to import from some other software. At first I tried with .fbx format from blender. With ProBulider I tried, but have not good sense. But you know, for me is important to first have an object(imported), then create a cube around it, then get the subtract of these two object. I mean:
new_object = created_cube - imported_object. now my problem is the created cube is always smaller than imported object. I'm a little bit confused by the dimension in Blender and scale in unity. You can adjust dimension in Blender, but how in unity? By importing from Blender, the problem starts when you want to cover the imported object with an standard object from Unity!!They are not match together(I mean create by script)!!

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.