Hi there
i managed to get the mouse position with a raycast. That works well - if the raycast hits a collider. But that´s not what i want, cause i want to place a cube model at the position of the mouse, and move it with the mouse.
Means, i need a way to get the 3D mouse position without raycast, where i get X and Z position of the cursor, and Y needs to be set by hand manually (so the Y value will stay the same over the complete game).
The Problem with raycast (i got now), is that some of my models are higher than others. And so the cursor-cube is jumping in the X/Z offset, cause the raycast always hits another point of the colliders)
Can someone give me a hint how to get this position?