x


How can I make a curved wall within unity?

I want to make different curved walls dynamically as a rectangle toroid. I can make one at a time in blender, but I want to be able to generate different size walls on the fly.

alt text

also not pictured would be start and end degrees where a full toroid would be start 0 end 360 and the one pictured might be start 0 end 180. I could make a few different curved walls in blender and then scale but I want width of the wall to stay the same. Is there any way to do this?

more ▼

asked Oct 30 '10 at 06:48 PM

Twayne gravatar image

Twayne
235 21 22 34

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You can construct meshes dynamically using the Mesh class.

more ▼

answered Oct 30 '10 at 07:38 PM

Eric5h5 gravatar image

Eric5h5
80.2k 41 132 520

All right. Looks like fun. Thanks

Oct 30 '10 at 08:18 PM Twayne
(comments are locked)
10|3000 characters needed characters left

Make the mesh like Eric said, and this might help you afterwards. (You'll have to modify it to work at runtime instead of as a wizard.)

Edit: Have a link! ;-) http://unifycommunity.com/wiki/index.php?title=CreateTorus

more ▼

answered Oct 30 '10 at 08:08 PM

Jessy gravatar image

Jessy
15.6k 72 95 196

I think you're missing something in your answer?

Oct 30 '10 at 09:03 PM Eric5h5

Nice job on both our parts, there! :-P

Oct 30 '10 at 10:07 PM Jessy
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1359
x84
x70

asked: Oct 30 '10 at 06:48 PM

Seen: 2128 times

Last Updated: Oct 30 '10 at 06:48 PM