Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope Particle Positioning C#
#4
(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! Sonrisa)
Reply


Messages In This Thread
Rope Particle Positioning C# - by VirtualCucumber - 12-11-2019, 03:30 AM
RE: Rope Particle Positioning C# - by josemendez - 12-11-2019, 09:20 AM
RE: Rope Particle Positioning C# - by josemendez - 04-12-2019, 07:13 PM