04-12-2019, 07:13 PM
(This post was last modified: 04-12-2019, 07:16 PM by josemendez.)
(04-12-2019, 05:58 PM)VirtualCucumber Wrote: With Obi Rope 5 how would you translate from local to world since the Solver operates in local now.
Also the new update(s) are awesome!!!
If you mean transforming particle positions/velocities from local (solver) space to world, same way you do with any other transform: solver.transform.InverseTransformPoint(), or InverseTransformDirection() if dealing with vectors.
If you're going to batch transform a lot of things, caching transform.localToWorldMatrix and multiplying by it is faster than using the Transform() methods.
(Glad you like 5.0! )