If I create the vertex with this command:
Code:
point = viz.endlayer(viz.WORLD)
then the vertex will be placed at another position like the mouse is.
But if I use
Code:
point = viz.endlayer(viz.SCREEN)
then the vertex will be placed at the mouseclick position.
But I don't want to place the vertex at the screen. It should be placed in the world at the mouseposition and at 0 on the z-axis.
I hope somebody understand my problem.
I only want to create a vertex in the world (not at the screen), but exactly at the mouseposition.
Is this possible?