- Home /
Question by
dishas9 · Jul 09, 2018 at 11:13 PM ·
raycastunityeditorcollisonangleaxis
How to draw a ray starting from origin at given azimuth and elevation angles w.r.t. origin?
I have a room with four walls and a point at the origin, that is the center of the room (on the floor, let say). I want to draw a ray from that point and find out where the ray hits the wall. The direction of the ray is given by azimuthal and elevation angles. How to do that?
Comment
Your answer
Follow this Question
Related Questions
Make an object collide with certain other objects when moved to RaycastHit point? 1 Answer
Layer mask doesn't work... 1 Answer
Colliders overlapping 2 Answers
Raycast and actions. 1 Answer
stop gun from rotating 1 Answer