nitrofert.blogg.se

Sketchup models in unity
Sketchup models in unity





sketchup models in unity
  1. #Sketchup models in unity how to#
  2. #Sketchup models in unity free#

#Sketchup models in unity free#

One problem that was making me mad was that models I created long ago, as well as models I’ve taken from the 3D warehouse ( Sketchup’s repository of free models), were sometimes very broken when imported in Unity. This will be applied to every instance of this object, even if it’s already in the scene. To do that you click on the object in the Project dialog and then you can scale it in the Inspector dialogĪfter that, every time you use that object it will have the size you wanted. Instead of changing the scale while the object is in the scene you can change the scale on the model itself in your Assets folder. One way of making sure the objects coming from Sketchup have the size you want is to figure out the proportion between the size you want them to be in Unity and their actual size and use that as a scaling factor. I don’t really understand the connection between both. It was that big! In Sketchup the height of the box, for example, is 1m, but in Unity its around 38.4 units. In this example I had to move the camera back to be able to see the box. Keep in mind that it’s my solution and there might be better ones out there. I will write about the two main issues I encountered and give you my solution. The reality is a lot more painful and I had a lot of problems with Sketchup to Unity process. The fact is, if this was so simple I wouldn’t probably create a tutorial for this. In this case we’ll have something like this in our Scene:Īnd that’s basically it! Our textured model will be in our scene and if it had any kind of hierarchy inside the Sketchup scene it will be preserved inside Unity. When in Unity you just need to drag your new asset into your scene. Since this will generate both a file and a folder of materials, I usually put it inside it’s own folder with the name of the asset, but that’s just a matter of choice.

sketchup models in unity

Make sure you save your exported file into your Assets folder inside your Unity project folder. Although I have the whole scene in one Sketchup file, I export each object independently to Unity. In the next chapter I will explain why that’s not such a good idea.Īnother thing you can do, which I find very useful, is to export only the selected object. If you read other tutorials (like I did) you will probably remember that some of them tell you to check the “ Export Two-Sided Faces“.

sketchup models in unity

Let’s select “ Triangulate All Faces“, “ Preserve Component Hierarchies” and “ Export Texture Maps” and leave everything else unchecked. In that box you have several options for the exporter to consider while converting the format of your model. Let’s choose “ Collada File (*.dae)” and then click on the Options button right next to the format name. Then, if you go to File > Export > 3D Model you get to choose a place to save the exported version of your model and the format you want it exported to. To make the example a little more complete we can add some texture to our new box. Let’s start by creating a very simple object, like a box, in Sketchup that we will export and use in Unity. So, let’s start with a very simple example and then we’ll talk about issues you might expect. Good thing Unity seems to be happy with DAE, so that’s the one I’ll use in this tutorial. In the past we could use FBX to export from Sketchup, but now we only have DAE and KMZ. This post is going to be about the current versions of Sketchup Make 15 and Unity 5.1. Somehow my models were always incorrect or untexturized or something! The fact is that Unity has come a long way and the compatibility has become very good with a lot of 3D formats. If anyone tried to do this in the past it was something a little bit hard. But now I want to reuse them in my remake and make them really 3D so I can navigate them in real time.

sketchup models in unity

#Sketchup models in unity how to#

At the time I was making a 2D game so my only concern was how to render the scenes in the best way possible. Sketchup is amazingly easy to use and I didn’t want to spend a lot of time learning 3D softwares to make a simple room. I’m currently working on a remake for my Light Asylum games (1 and 2) and, at the time, I made most of the visuals of the game in Sketchup.







Sketchup models in unity