Calculate distance between two points of different geometry

   4695   2   1
User Avatar
Member
2 posts
Joined: Dec. 2017
Offline
Hi, i've two geometry with a scatter node applied and i wont connect these point using an add node by color attribute create with a color node after scatter node.
so…

geo 1 geo2
scatter1 scatter2
color1 color2
merge
add

Now i need to calculate the distance between the connected poit.
How can I do?

Thanks
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
https://www.sidefx.com/forum/topic/22750/ [www.sidefx.com] :-?

http://www.sidefx.com/docs/houdini/vex/functions/distance.html [www.sidefx.com]
Edited by matthias_k - Jan. 13, 2018 23:43:12
English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
2 posts
Joined: Dec. 2017
Offline
Thanks for the reply. I solved using a wrangle with distance function.
  • Quick Links