Stormz shows how to find the closest position using the MinPos function in VEX.
This new Houdini tutorial from Stormz shows how you can use the MinPos function in VEX to find the closest position on any geometry surface in Side FX Houdini.
MinPos is a helpful tool for a lot of different things. “So let’s take a look at how to use the MinPos function in Vex in Houdini 19.”
MinPos in VEX returns the position of the closest point in the given geometry to the point, limiting the search to primitives in the named group and the maxdist radius.