Can we assign variables to the individual elements of a Vector 3 in order to change the X,Y, or Z coordinates of a model individually?
- 1 replies
- MModestSam2018-08-14 17:12:26.847Z
Yes you can. In Programmer mode you can manipulate any objects properties by dereferencing the property from the objects bottom handle. In the example below I dereference the cone's position. To be even more specific I can dereference the position node's bottom handle and choose from it's properties (since it's a vector3 that would be the x, y, z coordinates). To change any property you can then use the changeTo node and fill in a constant/variable of the correct type, in this case a float. (see picture attached)ReplySolution