Jsmidlow Posted February 17, 2021 Share Posted February 17, 2021 (edited) Hello. I'm struggling with changing vector direction inside a solver. In the file attached there is a point that reads vector attribute of a nearpoint and uses it in order keep on moving. The movement is done in solver. The problem is that it can after doing a "step" the point can take a new vector that is opposite to it's current direction and "step back". It returns to previous position where it gets a former "go ahead" vector and does a "step forward" and repeats the whole vector change and "back and forth" movement on and on. Inside the solver I try to compare vectors of previous and current frame and build a condition - if they are opposite let the point go down {0,1,0}; But no matter how I try it doesn't work. If someone can help me... SOLVER_problem.hipnc Edited February 17, 2021 by Jsmidlow 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.