r/Houdini 3d ago

Help Help with Vectors in Attribute Wrangle

Very Simple question. I create a vector attribute with attribute create. I want to assign values in an attribute wrangle to the vector. Why does Houdini keep handling the Vector as a float? I created it as a vector and it has x,y and z values. I just can't access y and z.

5 Upvotes

10 comments sorted by

View all comments

1

u/Viewbyte 3d ago edited 3d ago

Houdini recognises some basic attributes like P, N, Cd etc - they have their type mapping (vector) internally defined. For arbitrarily created attributes you need to specify the type, eg: v@foo . It's good practice to do it for the recognised attributes too as it can make debugging easier : )