Oh, it works~! But to point itself,it seems the first parameter of point("") should be 0 instead of -1. It confused me a long time because there aren't the description on how to use 0 to point to itselt in the official website .
-1 is for when you use spare parms so that you don't have to type which node you are referencing. If you just want to use the first input 0 is perfectly valid.
But if you need to reference the current point's attribute for each point for the Peak node, you will have to write your own peak operation in VEX.
animatrix_ -1 is for when you use spare parms so that you don't have to type which node you are referencing. If you just want to use the first input 0 is perfectly valid.
But if you need to reference the current point's attribute for each point for the Peak node, you will have to write your own peak operation in VEX.
Unfortunately,when I type -1 ,Error occured... I seem to understand what you said.In generally, number 0 refer to the first input. And maybe it's enough.
And I'm thinking about solving more complex situation,(as a houdini beginner) such as pushing small spheres to the surface that is just tangent to the big ball.
the node Peak works well, and I've found a more simple way which uses Vop to solve it.
thanks a lot for you to help me understand the node and how to use point()