12-04-2021, 01:23 PM
(09-04-2021, 09:38 AM)josemendez Wrote: That manual is for legacy (now unsupported) versions: 4.X and older. Current version is 6.0.1.Thanks for your answer! Can I use simulation in local space for scaling my cloth in runtime?
Since version 5.0, simulation is always performed in the solver's local space. This results in better performance and makes it easier to reason about what space you're working in. It also avoids floating point precision problems when working away from the world's origin, which is a must for large game worlds. Quoting the manual:
http://obi.virtualmethodstudio.com/tutor...olver.html
To emulate world space, just leave the solver at the world's origin. This way, local and world space become the same. Note you can also inject world-space inertial forces into the solver, using the solver's world linear/angular inertia scale parameters.