Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  particle like obiactor
#4
(04-04-2022, 02:44 PM)maygdirf Wrote: Clear! But to set a desired position, I have to make a transformation from the solver to the global space, right?

Right. All properties in Obi are expressed in the solver's local space, so you have to do the required conversions.

Unity's Transform/InverseTransform family of functions do the job nicely. For instance, to take a position from solver's local space to world space, you'd use: https://docs.unity3d.com/ScriptReference...Point.html
Reply


Messages In This Thread
particle like obiactor - by maygdirf - 01-04-2022, 04:09 PM
RE: particle like obiactor - by josemendez - 03-04-2022, 12:48 PM
RE: particle like obiactor - by maygdirf - 04-04-2022, 02:44 PM
RE: particle like obiactor - by josemendez - 04-04-2022, 02:54 PM
RE: particle like obiactor - by maygdirf - 04-04-2022, 04:47 PM
RE: particle like obiactor - by josemendez - 04-04-2022, 08:22 PM