Jump to content
Sign in to follow this  
Alexandre

Get a specific vector from a vector array

Recommended Posts

Hi all,

Noob question...

I want to read the 3 components of a specific vector that belongs to a vector array as shown in attached screenshot

I don't know where and in which format I have to put the point index and vector index.

someone know how to do that ?

thank you

Alex

Capture2.JPG

Capture.JPG

Edited by Alexandre

Share this post


Link to post
Share on other sites

Since you are running on detail, and the array is a point attribute, you need to use point(). 

point(input, "attribute", point number)[array index]

v@vect = point(0, "vel", 963723)[0];

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×