wreath Posted September 28, 2019 Share Posted September 28, 2019 Hey guys I'm just trying to calculate distance between opinput 1 position to opinput 2 position via wrangler but doesnt seem to work any ideas? v@CalcDist = distance (@P, point (1, "@P",0) ) ; Distance_Calc.hip Quote Link to comment Share on other sites More sharing options...
LucaScheller Posted September 28, 2019 Share Posted September 28, 2019 (edited) You don't need the "@" in the point function: f@CalcDist = distance (@P, point (1, "P",0) ) ; I'd also recommend writing the distance to a float attribute instead of a vector. Edited September 28, 2019 by LucaScheller 1 Quote Link to comment Share on other sites More sharing options...
wreath Posted September 28, 2019 Author Share Posted September 28, 2019 13 minutes ago, LucaScheller said: You don't need the "@" in the point function: f@CalcDist = distance (@P, point (1, "P",0) ) ; I'd also recommend writing the distance to a float attribute instead of a vector. Thanks I was going mad 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.