jonidunno Posted December 9, 2021 Share Posted December 9, 2021 Hi, I'm trying to offset points along a curve with a specific p vector... I'm pretty close but it seems to be shifting the point count randomly when it animates? You can see where the problem is in the screengrab.... Here is a test scene any advice or help would be much appreciated. pointsTest03.hiplc Quote Link to comment Share on other sites More sharing options...
madebygeoff Posted December 11, 2021 Share Posted December 11, 2021 I don't think the point count is shifting. It looks stable to me. Unless, I'm misunderstanding your question, the problem is that you are only transferring the curve normals in your attribute transfer. You also need to transfer the up vector. Right now N is being updated, but the points are keeping their original up vector so you start to get flipping as the points move around the curve when those vectors become the same vector. The other thing that is contributing to the steppy-ness is the low point count on the curve you are using for the attribute transfer. If you resample the curve you'll get smoother motion. pointsTest03.hipnc 1 Quote Link to comment Share on other sites More sharing options...
jonidunno Posted December 11, 2021 Author Share Posted December 11, 2021 8 hours ago, madebygeoff said: I don't think the point count is shifting. It looks stable to me. Unless, I'm misunderstanding your question, the problem is that you are only transferring the curve normals in your attribute transfer. You also need to transfer the up vector. Right now N is being updated, but the points are keeping their original up vector so you start to get flipping as the points move around the curve when those vectors become the same vector. The other thing that is contributing to the steppy-ness is the low point count on the curve you are using for the attribute transfer. If you resample the curve you'll get smoother motion. pointsTest03.hipnc OMG! you're absolutely right! Derp it was right in front of my face thanks for taking a look. Appreciate it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.