On 07/05/2017 at 11:00, xxxxxxxx wrote:
I am struggling on how to get the Mouse Coordinates in the Viewport.
I can get the screen coordinates using the **GetLong(c4d.BFM_INPUT_X) and ** GetLong(c4d.BFM_INPUT_Y)
But is there a way to get the projection XYZ coordinates in the ViewPort?
On 10/05/2017 at 10:53, xxxxxxxx wrote:
I hardly suggest you to read the documentation. Everything is explained.
On 12/05/2017 at 03:49, xxxxxxxx wrote:
what exactly is the context of your question? Are you working on a tool? Mouse coordinates are always just X and Y. What kind of Z coordinate are you looking for? The BaseView class includes various functions to transform coordinates across Screen-, Camera- and World space, e.g. BaseView.WS().