How can I measure distance between two points in Houdini?
I made the lines in ms paint.
How to measure distances between two points?
6176 2 0- proceduralist
- Member
- 188 posts
- Joined: May 2021
- Offline
- Hatchery
- Member
- 133 posts
- Joined: March 2016
- Offline
Drop down an attribute wrangle and wire the merg node into the first slot
then use this code:
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
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 - May 10, 2021 12:02:47
Love Houdini
- Kinte3d
- Member
- 14 posts
- Joined: Sept. 2016
- Offline
-
- Quick Links