We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for creating an issue/feature request! Please use the template below to ensure you have all the necessary information.
ControllablePlayer doesn't move with the mouse after adding MouseController to it.
Camera.main.ScreenToWorldPoint(Input.mousePosition) always returns zero.
Unity version 2018.2.18f1
I resolved ScreenToWorldPoint always returning zero by changing it to: Camera.main.ScreenToWorldPoint(Input.mousePosition + new Vector3(0, 0, 10))
The text was updated successfully, but these errors were encountered:
Sounds like this is something broken in Unity now... Cheers for pointing it out! I'm going to move this to the new documentation repo.
Sorry, something went wrong.
No branches or pull requests
Thanks for creating an issue/feature request! Please use the template below to ensure you have all the necessary information.
Quick Description
ControllablePlayer doesn't move with the mouse after adding MouseController to it.
Explanation
Camera.main.ScreenToWorldPoint(Input.mousePosition) always returns zero.
For Issues
Unity version 2018.2.18f1
I resolved ScreenToWorldPoint always returning zero by changing it to:
Camera.main.ScreenToWorldPoint(Input.mousePosition + new Vector3(0, 0, 10))
The text was updated successfully, but these errors were encountered: