x


Will Unity 3 iPhone builds support cloth physics at some point?

Currently, Unity 3 beta will not build for iPhone when cloth physics are in the project (it says the cloth components are not supported for the platform).

Is iPhone support for the new cloth physics in the works? I have some cloth-centered games I'd like to begin working on, but if the technology won't be present for many months I should probably come up with some other ideas :)

more ▼

asked Jul 26 '10 at 04:12 AM

Mike Laurence gravatar image

Mike Laurence
3 2 2 5

My guess is no... cloth physics is incredibly expensive, so making it run on an iPhone (let alone a computer) probably isn't possible at this point. If it were possible, I would be incredibly surprised.

Jul 26 '10 at 05:48 AM qJake

I dunno... I can instantiate about 50 of them (300 verts each) on my laptop before the frame rate drops anywhere near an unsatisfactory level. The iPad's 1ghz ought to be able to handle a couple, right?

Jul 26 '10 at 06:41 AM Mike Laurence
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

At least in the near future, the answer is no. As others stated, the performance implications do not make cloth use very feasible on the iPhone. In addition to that, the cloth code is also rather big, and compiling it in would make the iPhone build several 100k's larger - as we know that build size is a very critical factor, we'd rather leave the feature out, as we doubt many people would use it given the performance constraints.

more ▼

answered Jul 26 '10 at 08:11 AM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
9.8k 7 23 104

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

Unity 3.0 won't support cloth physics and it's unlikely that cloth physics will work on the iPhone at all. However, UT may be looking into supporting cloth physics at a later point in time. One of the reasons cloth physics is not easy on the iPhone is because PhysX is not optimized for ARM architecture at all. So it's not only the 1 GHz but also that it's an architecture that's just not that well supported (yet).

more ▼

answered Jul 26 '10 at 07:52 AM

jashan gravatar image

jashan
10.3k 25 43 117

(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:

x2013
x1948
x123

asked: Jul 26 '10 at 04:12 AM

Seen: 2407 times

Last Updated: Jul 26 '10 at 04:12 AM