Sincerely hope that somebody could sort this out for me as I am trying to get this done 3 days in a row haha
So I have some grids, copied to points of another grid, and inflated with vellum. The idea is to make separate “cells” to inflate in a specific time. So right before I copy to points, I add an attribute to the points of the grid to which we are copying.
The attribute is there, it is for every single point of the small grids that should be inflated. It is there in the vellum solver.
Now when I get to the vellum constraint property, I try to get the attribute value:
int point = primpoints(0, @primnum)[0]; int attribValue = point(2, "pressure_amount", point); printf("%i \n", attribValue);
Surprise! doesn't work. Vex console just outputs zeroes.
Strange thing with VEX console is that the output is some kind of corrupted. If I printf just something like P.x, P.y, P.z of a point - it just repeats like 20-30 values. Just keeps repeating it and in the end it just prints 5 equal values.
Please, help me sort this out, the disability to understand whats going on is driving me crazy haha
File attached.
Cheers,
Nick


