30-05-2019, 11:26 AM
(30-05-2019, 10:30 AM)josemendez Wrote: Hi,
You have a fully working example of how to procedurally create a mesh, generate a topology, and create the cloth actor in Obi/SampleScenes/RuntimeCloth. It uses the RuntimeClothGenerator.cs and SackGenerator.cs sample scripts.
I erased error. However my computer displays "There are inconsistent line endings in the 'Assets/SetupCloth.cs' script. Some are Mac OS X (UNIX) and some are Windows.
This might lead to incorrect line numbers in stacktraces and compiler errors. Many text editors can fix this using Convert Line Endings menu commands."
Would you check mine?