How to get one component of array point attribute in neighbour points in VEX?

   780   0   0
User Avatar
Member
209 posts
Joined: March 2018
Offline
Hello guys!
This is my problem and I can't fine any solution for this so far.
I want to read only one component of neighbour array point attribute in VEX is this possible?
Right now I should do this:
float foo = float[](point(0, "my_array_on_point", @ptnum + 1))[3];
However on lots of points this can be really slow because VEX reads the hole array and then gets the index 3 for instance!
Any help would be greatly appreciated!
Edited by N-G - March 13, 2019 18:05:30
  • Quick Links