F10 Posted September 8, 2018 Share Posted September 8, 2018 (edited) Hi Everyone, I'm a bit lost on this one, I've got lines growing in a solver, when those lines intersect, I'm trying to get the velocity vector of the closest point set as the new velocity for the intersecting lines. I'm getting the right result for the first intersecting point but the following one is getting the former direction and snaps back to the original direction, even tho the intersection is still happening according to the spreadsheet. The aim is to get the intersecting line to follow the other one in a parallel manner. Hip file here: intersect_contour.hip Any insight is welcome! thanks a lot, Edited September 8, 2018 by F10 Quote Link to comment Share on other sites More sharing options...
anim Posted September 8, 2018 Share Posted September 8, 2018 you are overwriting v@newdir every iteration from v@dir attribute so it will always wipe out your found intersection value Quote Link to comment Share on other sites More sharing options...
F10 Posted September 9, 2018 Author Share Posted September 9, 2018 I see - Thanks a lot! 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.