11-02-2022, 12:34 PM
Hi Obi team,
I have a rope on a 2D surface and I am trying to find the rotation (the yaw angle) of specific particles.
The index of the target particles is already know. My current method is to find the previous and next particle to estimate this angle.
However, it seems like the adjacent particle indeces from the blueprint are not the real adjacent particles.
I saw in some other posts that the ObiPathSmoother and GetSectionAt can be used to acquire an correct index list. But the compiler is telling me the ObiPathFrame does not have definition for paritcle1.
Is there any suggestions on getting the adjacent particle indeces?
Many thanks.
I have a rope on a 2D surface and I am trying to find the rotation (the yaw angle) of specific particles.
The index of the target particles is already know. My current method is to find the previous and next particle to estimate this angle.
However, it seems like the adjacent particle indeces from the blueprint are not the real adjacent particles.
I saw in some other posts that the ObiPathSmoother and GetSectionAt can be used to acquire an correct index list. But the compiler is telling me the ObiPathFrame does not have definition for paritcle1.
Is there any suggestions on getting the adjacent particle indeces?
Many thanks.