Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Cloth not behaving as ... cloth?
#3
(03-12-2020, 01:03 AM)josemendez Wrote: Hi,

Installing the Burst dependencies is only necessary if you plan on using Burst at all, it’s completely optional. If the dependencies are not installed, the native backend (Oni) will be used even if you select the Burst backend, as described in the manual.

Nonetheless, all minimum dependency versions are available in the package manager. You might have to unfold the “See all versions” dropdown though.

I had no issues getting cloth simulation to run by following the steps in the video (Unity 2019.3 and Obi 5.6.1). Also, performance was fine (>300 fps). Can you describe in more detail the steps you’re following? Also, are you able to reproduce any performance issues in the included sample scenes?


Thanks for your help! I'm running Unity 2020.1.6f1 if that helps.

The steps I followed: Installed the package. Created an Obi Cloth Blueprint. Added a mesh to the blueprint. Clicked generate. Checked the mesh in the edit view - all good. Then created a new Obi Cloth game object. It was instantiated as the child of a solver. I selected the blueprint and applied it to the cloth. Then I clicked "Play" on my scene. The cloth does not move or anything and seems to be frozen in place, and the frame rate drops very low.

I checked the sample scenes, and none of them work either. Interestingly, when the game is playing the first sample (Cloth > Benchmark) I cannot even move the flag transforms in the scene view. The transform value changes but they show themselves as if they're stuck directly in place. There is a game object in that scene called "Burst Collision World" with a script on it. When I click on that, I see a warning that says: "the associated script cannot be loaded. Please fix any compile errors and assign a valid script."

I also have Obi Rope and none of the rope samples work there either. It's as if all the Obi Materials are stuck in place.
Reply


Messages In This Thread
RE: Cloth not behaving as ... cloth? - by mikemikemike - 03-12-2020, 01:48 AM