- Home /
Return gameobject Vector 3 relative to Screen Space?
How would I do this? I've tried
transform.InverseTransformDirection()
However it does not return the screen space relative coordinates I'm after. Is there a function to return this variable available in javascript?
Answer by qJake · Jun 26, 2010 at 08:51 AM
Are you looking for Camera.WorldToScreenPoint()? Or perhaps its counterpart, Camera.ScreenToWorldPoint()?
This answer is correct, and actually led me ScreenToViewport, which worked even better than expected. Thanks for the quick reply!
Your answer
Follow this Question
Related Questions
Find position of SelectionGrid element clicked 2 Answers
Unity workspace get black when start the unity or minimize . 0 Answers
how to get the most right point or left point atc of object as visual on the screen in 3d project? 0 Answers
How to render world space objects in screen space using Matrix ? 0 Answers