- Home /
How to create a roof?
I want to create a roof by script, The room is always in a different sizes and sometimes has curves in it and everything, and i want the roof to be like a lid.
example: I have a room with no roof, and the room looks like the letter "O" how do i create a roof for that room, with script..?
I do not have the slightest idea on how to do this
Answer by Lab013 · Mar 16, 2011 at 02:15 AM
Check out classes relating to the keyword Mesh.
hm okay that helped a bunch, but how should i get the vertices of the room?
Your answer
![](https://koobas.hobune.stream/wayback/20220613113104im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Checking if object intersects? 1 Answer
How to implement a Room Mode Multiplayer Game code structure. 1 Answer
Countdown not working (instantiating on count<=0) 2 Answers
Slow automatic shooting script? 2 Answers
Spawning above the terrain 2 Answers