15-11-2021, 03:47 PM
(This post was last modified: 15-11-2021, 03:48 PM by josemendez.)
Positions (and all other particle data) in Obi are expressed in solver space:
http://obi.virtualmethodstudio.com/manua...icles.html
However you're assigning your position to transform.position, which is expressed in world space. If you want to use it this way, you need to convert the particle position to world space first, using Unity's TransformPoint(): https://docs.unity3d.com/ScriptReference...Point.html
http://obi.virtualmethodstudio.com/manua...icles.html
Quote:All spatial properties (positions, orientations, velocities, vorticities, etc) are expressed in the solver's local space.
However you're assigning your position to transform.position, which is expressed in world space. If you want to use it this way, you need to convert the particle position to world space first, using Unity's TransformPoint(): https://docs.unity3d.com/ScriptReference...Point.html