• 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

Raycasthit

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

AndBje answered

Raycasts not working on triggers.

19 hours ago raycast·trigger·raycasthit·triggers·raycasts

1 Reply

0 Votes

avatar image

OklamWarol commented

Destroy object with KeyCode via RaycastHit

Apr 3, '21 in Help Room

1 Reply

0 Votes

avatar image

PultroN93 edited

Raycast.hit ignores everything except for the terrain

Mar 31, '21 in Help Room

1 Reply

0 Votes

avatar image

bellwether edited

how to continue spline? Closed

Mar 24, '21 raycasthit·spline·rail

0 Replies

0 Votes

avatar image

levi6706 commented

place a object not in a object

Mar 18, '21 raycast·spawning·gameobjects·raycasthit

0 Replies

0 Votes

avatar image

mmnagelia commented

Scripting Help with My Projectile System

Mar 14, '21 c#·scripting problem·nullreferenceexception·raycasthit·skybox

1 Reply

0 Votes

avatar image

octav88 commented

Raycast not registering hits when mouse is moving fast.

Mar 13, '21 raycast·raycasthit·mesh vertices·mesh color

2 Replies

1 Votes

avatar image

sebimihaila9 edited

Hookshot in Unity 2D not working,Hookshot 2D not working

Mar 10, '21 in Help Room

0 Replies

0 Votes

avatar image

jmanchuck commented

Raycast not hitting instantiated object when timescale is 0

Mar 4, '21 raycast·raycasting·raycasthit

1 Reply

0 Votes

avatar image

AllanM88 asked

ScreenToRayPoint not working in VR, how to substitute?

Feb 28, '21 raycast·vr·raycasthit·screenpointtoray

0 Replies

0 Votes

avatar image

pauldarius98 answered

Raycast gives wrong hit info when hit a plane

Feb 28, '21 raycasthit·plane·meshcollider

1 Reply

0 Votes

avatar image

Gsn7 published

Raycast whit Unity

Feb 9, '21 raycast·raycasthit

0 Replies

0 Votes

avatar image

iDG27 edited

Accessing Raycast collider from another script

Feb 7, '21 in Help Room

0 Replies

0 Votes

avatar image

alekseibulankin published

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

Feb 4, '21 c#·raycast·raycasthit·ray·texturecoord

0 Replies

0 Votes

avatar image

hdr25 commented

How do i get local Hit position of Raycast on a collider

Feb 2, '21 raycast·unity5·collision detection·raycasting·raycasthit

1 Reply

0 Votes

avatar image

SmittyA answered

Why are RaycastHit surface normals of corners not interpolated or otherwise correct?

Jan 31, '21 collision·raycasthit·boxcollider·normal·cast

1 Reply

0 Votes

avatar image

conguerror commented

Raycast goes through

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

1 Reply

0 Votes

avatar image

pokemon9757 commented

Physics.Raycast doesn't hit anything even though Debug.DrawRay works

Jan 16, '21 2d·raycast·2d-platformer·raycasting·raycasthit

1 Reply

0 Votes

avatar image

EisAmStiel edited

How can I check whether my Ray is hitting an edge collider or not?

Jan 8, '21 in Help Room

0 Replies

0 Votes

avatar image

mhmmdemen edited

RaycastHit2D problem

Dec 22, '20 in Help Room

0 Replies

0 Votes

avatar image

aks850745 asked

I want to make a bot which simulate the maze solver using left hand rule ( wall follower).

Dec 21, '20 in Help Room

0 Replies

0 Votes

avatar image

VanessaPabst asked

Raycast is hitting a collider but ignores it right after

Dec 18, '20 in Help Room

0 Replies

0 Votes

avatar image

xxmariofer answered

Player in front of enemy check not working, Physics.Raycast()?

Dec 17, '20 in Help Room

1 Reply

0 Votes

avatar image

vaibhavrawath answered

Why does my player not move towards the raycast hit in this script?

Dec 17, '20 in Help Room

1 Reply

0 Votes

avatar image

HolBol edited

Bullet Spread axis compression

Nov 30, '20 in Help Room

0 Replies

0 Votes

avatar image

No-made asked

trying to create a shader that simulate an RFI camera view with shader graph

Nov 23, '20 in Help Room

0 Replies

0 Votes

avatar image

Llama_w_2Ls answered

Instantiating a gameobject to face the hit point of a ray

Nov 20, '20 raycasthit

1 Reply

0 Votes

avatar image

GameDeveloperAf edited

Vehicle is vibrating on the edge of the ramp/surface when I get the normal of the surface

Nov 16, '20 raycast·raycasting·raycasthit·hit·vibration

0 Replies

0 Votes

avatar image

CodesCove commented

Raycast hitdetection not working correctly

Nov 9, '20 c#·raycasting·raycasthit·pickup·item pickup

2 Replies

0 Votes

avatar image

ASE-Lab commented

Collider inside another collider : I have these spheres inside the brain, and I want to be able to move the brain via mouse while being able the click the spheres

Nov 2, '20 colliders·raycasthit·boxcollider·occlusion

1 Reply

0 Votes

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

Followers

avatar image avatar image avatar image

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 raycasting c# collider ray gameobject physics collision vector3 javascript rotation hit camera tag instantiate raycasthit2d scripting problem normal collision detection rigidbody transform colliders nullreferenceexception 3d layermask


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