Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Conversion from Unity to Obi Cloth by code / Mobile devices performance
#1
Hi,
I would like to ask a few questions befory buying Obi Cloth.

I want to use it along with UMA (Unity Multipurpouse Avatar system) for character cloths. The UMA handles cloth materials by adding standard Unity Cloth component on   certain parts of generated avatar mesh. Is there a possibility to change Unity Cloth component to Obi Cloth in runtime by code ?

I read a few reviews on the asset store page of the asset that make me wonder about efficiency on mobile devices. Will it run on android with just a few cloths smoothly ?
Reply
#2
(22-06-2017, 07:39 AM)LukaszM Wrote: Hi,
I would like to ask a few questions befory buying Obi Cloth.

I want to use it along with UMA (Unity Multipurpouse Avatar system) for character cloths. The UMA handles cloth materials by adding standard Unity Cloth component on   certain parts of generated avatar mesh. Is there a possibility to change Unity Cloth component to Obi Cloth in runtime by code ?

I read a few revies on asset store page of the asset that make me wonder about efficiency on mobile devices. Will it run on android with just a few cloths smoothly ?

Hi LukaszM,

Obi is considerably more involved to set up than Unity cloth. It is possible to do it trough code and there is an example included in the asset ("RuntimeCloth" scene), but it is not a simple as adding a component. You need to:

- Generate a topology asset out of the mesh. This asset contains mesh adjacency information and metadata for the mesh, that aids in speeding up cloth generation, and allow to reduce memory consumption when using multiple cloth copies of the same mesh.

- Hook up the topology to the cloth, and tell the cloth which Solver component will be in charge of updating the simulation.

- Initialize the cloth (this is a coroutine, so initialization is done in an asynchronous way).

Efficiency was pretty much on par with Unity cloth on all devices we´ve tried. The Android phones we have tested on are:


- Galaxy S4
- Sony Xperia Z

We cannot possibly test all Android devices in the market, so if there's any issue in a particular device all we can do is offer support to try and get it running there.

cheers!
Reply