amin.khormaei Posted September 15, 2020 Share Posted September 15, 2020 I'm gonna use nearpoint with the position of add+transform. int point = nearpoint(0,v@opinput1_P,1); if(point == @ptnum) { @Cd = {1,0,0}; } but it doesn't work. Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 15, 2020 Share Posted September 15, 2020 vector pos = point(1, "P", 0); i@npt = nearpoint(0, pos, chf("dist")); if(@ptnum == @npt){ @Cd = {0, 0, 1}; @P += {0, 0.25, 0}; } 1 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.