attribvop: basic questions
2774
4
0
Renji_kan
Member
23 posts
Joined: 6月 2021
オフライン
2021年6月11日 14:54
Hello,
Explain to me please, I'm completely confused: ((
1)I create objet grid.
2)I create attribvop
3)In attribvop I do this: geometryvopglobal: P ---> constant:vector(0, 0,1, 0) ---> add ----> geometryvopoutput: P
I expect to see a 0.1 change in the position of the object on the Y-axis, but the object just disappears.
((
Edited by Renji_kan - 2021年6月11日 14:55:20
Attachments:
atribvop.jpg (407.9 KB)
gt3d2019
Member
40 posts
Joined: 11月 2019
オフライン
2021年6月12日 4:05
no expert myself, but usually I'd split out @P into floats using vector to float node, then apply a single constant add to the mid slot(Y) then recombine into a float to vector and then goes into yer @P in geometryvopoutput
Aizatulin
Member
504 posts
Joined: 7月 2005
オフライン
2021年6月12日 7:50
You can also change const type to vector ("add" is not casting float to vector automatically).
Renji_kan
Member
23 posts
Joined: 6月 2021
オフライン
2021年6月12日 10:44
Aizatulin You can also change const type to vector ("add" is not casting float to vector automatically).But, in the first message I wrote that I chose the vector type for the const variable:
In attribvop I do this: geometryvopglobal: P ---> constant:vector(0, 0,1, 0) ---> add ----> geometryvopoutput: P
Renji_kan
Member
23 posts
Joined: 6月 2021
オフライン
2021年6月12日 12:08
I understood what the mistake was. There were no connected nodes in the wop attribute node and they caused an error.