Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi 4.1 manual simulation does not work
#1
Hello there,

Thank you for the latest upgrade to Obi 4.1. The distance fields are a lot more accurate now.

However, in the previous Obi version, I was able to use this code to simulate Obi Cloth physics:

Physics.autoSimulation = false;
for (int i = 0; i < 350; i++)
{
    Physics.Simulate(0.02f);
    obiSolver.AccumulateSimulationTime(0.02f);
    obiSolver.SimulateStep(0.02f);
    obiSolver.EndFrame(0.02f);
}
Physics.autoSimulation = true;


However that code no longer works for Obi 4.1 (tested using a fresh project).

How would one go about simulating cloth physics in Obi 4.1?

Thanks
Reply


Messages In This Thread
Obi 4.1 manual simulation does not work - by bobby - 16-04-2019, 06:29 AM