• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Drawray

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

MilenaRocha answered

DrawRay position && local/world position ERROR

May 9, '19 in Help Room

1 Reply

0 Votes

avatar image

Saki_col answered

How can I draw a specific distance with Debug.Drawray

Nov 8, '18 raycast·distance·drawray

4 Replies

3 Votes

avatar image

LeonmFF commented

Debug.DrawRay not drawing Ray

Apr 26, '18 raycast·drawray

1 Reply

0 Votes

avatar image

EliteHedgehog56 commented

Make Ray visible

Apr 26, '18 raycast·visible·drawray

2 Replies

1 Votes

avatar image

Zodiarc commented

draw ray weird outcome.

Feb 15, '18 drawray

2 Replies

0 Votes

avatar image

siddharth3322 asked

Debug Draw for BoxCast and CapsuleCast

Jan 4, '18 raycast·physics2d·debug·drawray

0 Replies

1 Votes

avatar image

RhinoFreak asked

RayCast2D and RayDraw errors

Jan 4, '18 in Help Room

0 Replies

0 Votes

avatar image

Pennywise881 answered

How to place an object in the direction of a raycast Closed

Dec 30, '17 raycast·vector3·raycasthit·drawray

1 Reply

0 Votes

avatar image

Oorlfe commented

DrawRay not drawing a ray

Jul 6, '17 raycast·raycasting·drawray

1 Reply

0 Votes

avatar image

Bunny83 answered

Call an exorcist.

Apr 22, '17 movement·position·mouse·bug-perhaps·drawray

1 Reply

0 Votes

avatar image

andrew-lukasik edited

Add layermask to DrawLine & DrawRay or something similar with visible Ray

Mar 29, '17 raycast·ray·drawline·drawray

1 Reply

1 Votes

avatar image

Tairos answered

DrawRay Hits but RayCast does not

May 10, '16 in Help Room

1 Reply

0 Votes

avatar image

itzphilip asked

How to make Debug.Drawray visible in game?

Feb 18, '16 in Help Room

0 Replies

0 Votes

avatar image

alok-kr-029 commented

Raycast from transform.position to Player.transform.position is not raycasting to player

Mar 14, '15 debug·drawray

1 Reply

0 Votes

avatar image

brummer edited

What does direction do for a physics.raycast besides direction? (read details)

Feb 3, '15 raycast·debug·physics.raycast·drawray·debug.drawline

1 Reply

0 Votes

avatar image

Cerbion_ answered

making Debug.DrawRay infinitely long using Mathf.Infinity

Dec 9, '14 raycasting·drawray·infinity

1 Reply

1 Votes

avatar image

findujanvier commented

Draw a Ray to the Mouse Postion

May 9, '14 position·mouse·mouseposition·drawline·drawray

1 Reply

0 Votes

avatar image

ThorShaker commented

Why doesn't the distance in RaycastAll and DrawRay correspond? Wiki

Mar 19, '14 raycast·distance·raycasthit2d·length·drawray

1 Reply

0 Votes

avatar image

superluigi commented

How to calculate Debug.DrawRay length to match raycast

Mar 17, '14 drawray

1 Reply

0 Votes

avatar image

Yarden-Raveh commented

Raycast won't hit Collider

Dec 6, '13 raycast·raycasthit·ray·drawray·point-and-click

1 Reply

0 Votes

avatar image

Nk.Andrei commented

DrawRay with a custom class.

Aug 11, '13 class·drawray

2 Replies

0 Votes

avatar image

SimonDiamond commented

Raycast doesn't work properly?

May 3, '13 c#·physics·raycast·work·drawray

0 Replies

0 Votes

avatar image

Cyber_Defect answered

LayerMask, DrawRay and DrawLine acting weird...

Apr 28, '13 layermask·drawline·drawray

1 Reply

0 Votes

avatar image

D3m0nE commented

Rotate From SpawnPoint TO Transform Rotation

Apr 26, '13 camera·fps·topdown·ray·drawray

1 Reply

0 Votes

avatar image

Owen-Reynolds commented

Problem With Physics.Raycast

Mar 6, '13 physics·raycast·target·point·drawray

1 Reply

0 Votes

avatar image

Eric5h5 commented

Debug.DrawRay from camera

Oct 1, '12 drawray

2 Replies

0 Votes

avatar image

Hybris commented

RayCast "blueline" qoes down

Aug 25, '12 raycast·shoot·drawray

1 Reply

0 Votes

avatar image

Khada commented

Vector direction to point Closed

Aug 20, '12 direction·linerenderer·vector·point·drawray

1 Reply

0 Votes

avatar image

Owen-Reynolds answered

Draw af line in a specific angle around an object

Apr 1, '12 direction·angle·drawray

1 Reply

0 Votes

avatar image

Owen-Reynolds edited

Raycast and drawray problems

Nov 9, '11 raycast·raycasthit·drawray

2 Replies

0 Votes

  • 1
  • 2
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

raycast debug drawline raycasthit raycasting ray position mouse point linerenderer physics raycasthit2d distance direction infinity shoot visible camera vector vertex physics.raycast mesh layermask debug.drawline hit
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges