I have got a plane that i want an object to follow and be in the same pos of the mouse. like for example, games that you have to build something, like Age of Empires, Warcraft, The Movies.
I want doesnt mattering the camera’s angle the object to follow the plane (the part inside the camera’s view of course)
The way I thought of doing this is creating a ray at the mouse cursor, or by some how use the one used for internal calculation of the mouse over sensor and get the collision point with my plane. ( for this I can use the Ray.getHitPosition function ) At the position I shall show an object, that when you presses the left mouse button it fixes at the position.
I tried myself do some scripting but I couldn’t get it going, so I need some help.
i am not used to blender functions, though I know python.
Here is an explanatory image
Regards in advance,
PS: wow! that was long :o