- Home /
How to make a plane?
I'm trying to make a 2d game, and I've made a picture in Microsoft Paint and imported it into Unity as a 2D Texture. When I try to move it from the Project View to the Hierarchy View and onto a GameObject (by dragging it with the mouse), it won't let me do so. What I've learned from searching UnityAnswers is that I need to make a plane then wrap this 2D Texture around/on the plane, but I can't find how to actually make a plane. So that's my question: how do I make a plane in Unity?
Big thanks to anyone who helps.
Congrats on entering the awesome world of Unity. I STRONGLY suggest getting started with some tutorials.
Will GoldStone's tutorials are very good. http://www.unity3dstudent.com/
Answer by JonnyHilly · Jun 28, 2011 at 12:53 AM
There is also a free script available on the Wiki, that lets you specify how many polygons in your plane. The default unity one is abotu 10x10 or 200 or so triangles, when you probably only need 1 quad.
http://www.unifycommunity.com/wiki/index.php?title=CreatePlane&oldid=10448 Stick this in your /editor folder and you'll get a new menu item to make custom planes.
Thank you, Guys. :)
I've managed to make a plane the way Chris said (GameObject -> Create Other -> $$anonymous$$ake Plane), but is there a Java or JavaScript version of that free script?
There's no Java anything involved with Unity. Javascript is not Java.
doesnt matter if its java or c# it will still work for you, as you run the script from Unity $$anonymous$$enu, you just need to put it in the assets/editor folder, and you'll have a new meu option to create a plane object. enjoy :)
Your answer
Follow this Question
Related Questions
Creating a 2D game using planes with textures 1 Answer
2D plane not drawing texture correctly 2 Answers
2D texture lines 0 Answers
Applying a texture to a plane 4 Answers