• 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

Ray

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

GasparMr6 asked

VR Ray Interactors get stuck when targeting a button UI

Jul 25, '22 ui·vr·ray·raycasts

0 Replies

0 Votes

avatar image

FM-Productions edited

Why in Unity3D RaycastHit. textureCoord always return 0,0 after building the project?

Mar 31, '22 c#·raycast·raycasthit·ray·texturecoord

1 Reply

0 Votes

avatar image

hrn929 commented

VR, Oculus Quest 2: How can I change the color by pressing a trigger when ray coming out of the VR controller detects an object?

Mar 23, '22 in Help Room

1 Reply

0 Votes

avatar image

meine_unity commented

Ray effect on sprite with obstacles

Mar 10, '22 2d·raycast·sprite·spriterenderer·ray

0 Replies

0 Votes

avatar image

randomdragon answered

Ray: finding out x and z coordinates where it intersects y = 0

Jan 24, '22 vector3·ray

3 Replies

6 Votes

avatar image

ThomLaurent commented

distance between a ray and a point

Nov 24, '21 distance·ray·point

6 Replies

6 Votes

avatar image

SirhotOP answered

More Layers? Selecting one out of 50+ GameObjects?

Oct 10, '21 layers·ray·trace

2 Replies

0 Votes

avatar image

gameingking1996 edited

Raycast hit not working when GameObject is changed

Sep 15, '21 in Help Room

0 Replies

0 Votes

avatar image

U2-84 commented

Crosshair and Ray

Sep 6, '21 raycast·ray·crosshair·smoothfollow

1 Reply

0 Votes

avatar image

raxar4 asked

XRGrabInteractable track velocity, not position

Jun 4, '21 vr·ray·grab·interactable

0 Replies

0 Votes

avatar image

TheArgo commented

Raycast isn't working on small distances Closed

May 28, '21 raycast·tag·ray·hit

1 Reply

0 Votes

avatar image

Rosehardt commented

Finding shortest line segment between two rays / Closest Point of Approach

May 5, '21 vector·ray

2 Replies

1 Votes

avatar image

JohnnyCenter published

I don't get Raycasts Wiki

Mar 29, '21 raycast·physics2d·ray·raycasthit2d

0 Replies

0 Votes

avatar image

recaigeciken14 commented

RaycastHit2D hits the objects from start point of Raycast

Mar 14, '21 collider2d·transform.position·ray·raycasthit2d

0 Replies

0 Votes

avatar image

gravelpootis edited

Splitting FixedUpdate frame

Mar 2, '21 in Help Room

0 Replies

0 Votes

avatar image

udunadmin answered

I don't know why i can't detect by ray sth. tagged,

Feb 18, '21 raycast·collider·detection·ray·hit

1 Reply

0 Votes

avatar image

AnOrdinarySandwich answered

How to stop raycast at first object hit?

Jan 31, '21 in Help Room

2 Replies

1 Votes

avatar image

CodesCove commented

ray and projectile

Jan 28, '21 ray

0 Replies

0 Votes

avatar image

conguerror commented

Raycast goes through

Jan 27, '21 collision·raycast·raycasting·raycasthit·ray

1 Reply

0 Votes

avatar image

ibrahimddeveloper commented

why are child colliders sometimes ignored?

Jan 27, '21 physics·raycast·collider·child·ray

2 Replies

0 Votes

avatar image

Jibinhok edited

How to use ScreenPointToRay for orthographic cameras

Jan 3, '21 camera·ray·orthographic·orthographic camera·screenpointtoray

1 Reply

0 Votes

avatar image

BurtBotGames commented

How to make raycast go through various colliders

Dec 28, '20 colliders·raycasting·ray

1 Reply

0 Votes

avatar image

Hellium edited

is it possible to have raycasts to cover the whole screen in one Update() time?

Nov 19, '20 camera·raycast·3d·ray·ray cast

0 Replies

0 Votes

avatar image

eForger commented

Get 2D Collider with 3D Ray

Sep 9, '20 camera·raycast·collider2d·ray·screenpointtoray

2 Replies

15 Votes

avatar image

am_012 edited

How to use raycast on generated objects.

Aug 30, '20 raycast·raycasting·ray·hit

0 Replies

0 Votes

avatar image

ShayneDsouza asked

Detecting objects between two rays

Aug 10, '20 ray·detect

0 Replies

0 Votes

avatar image

CubicPro asked

Raycast problem/wall climb system

Jul 6, '20 in Help Room

0 Replies

0 Votes

avatar image

badjano asked

Does anyone ever made a image effect shader in unity for raymarching in vr?

May 26, '20 shader·ray·stereoscopic·stereo

0 Replies

1 Votes

avatar image

rahulmahtolia edited

How to improve the efficiency of ray casting ray detecting collision?

May 13, '20 raycasting·raycasthit·ray·physics.raycast

0 Replies

0 Votes

avatar image

dARkStorN- answered

Offseting a Ray from camera before casting

May 12, '20 camera·ray·screenpointtoray

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image avatar image avatar image

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Related Topics

raycast raycasthit raycasting c# collider hit camera collision vector3 physics screenpointtoray rotation raycasthit2d touch mouse distance cast mouseposition position tag angle linerenderer direction 2d gameobject


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges