|
Greetings,
Simple question hopefully. In a FBVector3d(x,y,z) I want to get the y value at a certian point and retain it in a variable.
I’ve been looking for a function to pull out a specific X,Y, or Z value rather full 3 point vector.
Could someone point me in the right direction for this?
Cheers
Finish project, move, finish project, move.
|
|
|
|
You use the same syntax as python lists or tuples:
lVector = FBVector3d(1.8, 3.1, 9.5)
lPosY = lVector[1]
print lPosY
The same goes for accessing elements in a FBMatrix.
Stev
|
|
|
|
Awesome
I can’t thank you enough
Finish project, move, finish project, move.
|
|
|