How to measure distances between two points?
9492
2
0
How can I measure distance between two points in Houdini?

I made the lines in ms paint.
-
- Hatchery
- Member

- 141 posts
- Joined: 3月 2016
- オフライン
Drop down an attribute wrangle and wire the merg node into the first slot
then use this code:
vector one = point(0,'P', point-number);
vector two = point(0,'P', point-number);
f@distance = distance(one, two);
replace the 'point-number' with the number of the points you want to mesure the distance between.
Then view the results in the geo spreadsheet
Edited by Hatchery - 2021年5月10日 12:02:47
Love Houdini
-
- Kinte3d
- Member

- 14 posts
- Joined: 9月 2016
- オフライン
you can also create a line with the add sop, and delete all but this line and use measure node to get it's perimeter.