Search the Community
Showing results for tags 'min'.
Found 3 results
Hello. I have an array attribute and I need to figure out min values among all first, second, third, etc elements of arrays. If I were about to know the exact length of array (let's say 3) I would do this... iterate insider forloop "distances" append values to three new arrays and find min values with min function. min(distancesone), min(distancestwo), min(distancesthree)...... My problem is that I don't know the exact number of array and min() is useless as long as I can't manually create arrays of specific number elements. So the question is how can I figure put the min value among distances elements, then ,  and so on... Thank you.
Hi there, So I'm trying to fit the point velocity attribute range from 0-1. In my test scene, I have a simple RBD sphere shooting upwards and slowly slows down once landed. I'm using the length of velocity, promote it to detail attribute with min and max v and imported the detail attributes in a second wrangler where I fit it in an attribute called @speed, the issue is instead of @speed going from 0-1, it always starts at 0.5? Or is my setup wrong? Thanks. *hip file attached* min_max_v.hip