#1
|
|||
|
|||
How to get the position of a vertex
How can I get the position of a single vertex of an on-the-fly line?
The line has only two vertices and is being rotated by linking it to an Intersense tracker. I want to obtain the positions of the endpoints as it moves. |
#2
|
|||
|
|||
If you have the latest BETA version you can do the following:
Code:
pos = line.getVertex(0) #Get raw position of vertex 0 Code:
pos = viz.Vector(line.getVertex(0)) pos = pos * line.getMatrix() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|