daemon3000 / InputManager

Custom InputManager for Unity
Other
587 stars 88 forks source link

Getting Mouse cursor's to world point #55

Closed CraftedPvP closed 4 years ago

CraftedPvP commented 4 years ago

Normally, we'd do Camera.main.ScreenToWorldPoint(Input.mouse.Position) (link) to get the world position.

I don't think this feature is implemented yet. Can we ask for this feature? Thanks

[Edit} I realized that I could do it by getting the Mouse axis first for both X and Y then cast a ray for the z axis.