• 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

Raycasthit2d

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Bunny83 commented

Trouble with understanding code that uses "==" operator.

14 hours ago c#·raycasthit2d·operator

2 Replies

0 Votes

avatar image

joepeijkemans asked

Randomly place gameobjects on UI sprites

yesterday in Help Room

0 Replies

0 Votes

avatar image

kuyakyleee edited

[SOLVED]: Bullets passing through platforms - Brackeys Tutorial

5 days ago c#·instantiate·beginner·raycasthit2d·2dplatformer

1 Reply

0 Votes

avatar image

tacocat1512 answered

Raycast2DHit reference in other script runs NullReferenceException

5 days ago nullreferenceexception·raycasthit2d

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

Footknight asked

How do I make a laser that bounces around a room?

Jan 6, '21 in Help Room

0 Replies

0 Votes

avatar image

unity_monish commented

RaycastHit2D has a offset or something

Jan 5, '21 raycasthit2d

1 Reply

0 Votes

avatar image

SSuperkirbs5 edited

putting a raycast2d from the last position to the current position of a gameobject

Dec 29, '20 raycasthit2d

1 Reply

0 Votes

avatar image

mhmmdemen edited

RaycastHit2D problem

Dec 22, '20 in Help Room

0 Replies

0 Votes

avatar image

Karks answered

My raycasting script stops on error in play mode and i can't find out why

Dec 10, '20 2d game·raycasthit2d·top down shooter

1 Reply

0 Votes

avatar image

RgClube asked

How to make the selected object destroyed with another selected object

Nov 29, '20 script.·onmousedown·raycasthit2d·selecting objects

0 Replies

0 Votes

avatar image

RgClube commented

Unexpected problems with moving objects with a mouse click.

Nov 29, '20 raycast·raycasthit2d·input.mouseposition

1 Reply

0 Votes

avatar image

Ninjinski published

Is there a way of casting Rays at the end of the collider of an object ?

Nov 17, '20 2d game·collider2d·raycasthit2d·fov·collider.raycast

0 Replies

0 Votes

avatar image

unity_NErgEZ563bxDEg edited

How to reference a float from a specific tile?

Nov 15, '20 2d·tilemap·tile·raycasthit2d

1 Reply

0 Votes

avatar image

MoOuhami7 asked

How to set a condition for not colliding with an object using RayCast2D ?

Nov 12, '20 2d-platformer·detection·raycasthit2d

0 Replies

0 Votes

avatar image

MomkeyDev asked

Raycast2D hit.point is zero ?

Nov 3, '20 in Help Room

0 Replies

0 Votes

avatar image

I_Am_Err00r edited

Raycast2D only hit Trigger Collider

Nov 2, '20 raycasthit2d

1 Reply

0 Votes

avatar image

cupnoodle edited

Physics2D Raycast not colliding with Tilemap Collider

Oct 27, '20 in Help Room

0 Replies

0 Votes

avatar image

ELginas published

PhysicsScene2D RaycastAll()

Oct 26, '20 physics2d·raycasthit2d

0 Replies

0 Votes

avatar image

Meme12321 asked

How do I get my 2D Raycast to Go through a tagged collider without detecting it.

Oct 23, '20 2d·raycasthit2d

0 Replies

0 Votes

avatar image

NoahzArk_127 published

Ai Destinations not changing when using length of raycast,

Oct 19, '20 in Help Room

0 Replies

0 Votes

avatar image

Cryo_Quantom commented

Raycast2D/Line Renderer offset on colliders based on mouse position

Oct 12, '20 raycast·unity 2d·raycasthit2d·line renderer

0 Replies

0 Votes

avatar image

Quast asked

RayCast 2d change start position ?

Oct 11, '20 in Help Room

0 Replies

0 Votes

avatar image

3kWikiGames commented

[Conceptual] How to keep from destroying multiple objects? (Only one at a time)

Oct 6, '20 2d-gameplay·raycasthit2d·hit detection

2 Replies

0 Votes

avatar image

YippyGames edited

My Raycast2Dhit, isnt working on prefabs

Oct 4, '20 raycast·physics2d·raycasthit2d

0 Replies

0 Votes

avatar image

CodingNerro asked

RayCastHit 2d with layerMask not workin

Sep 28, '20 in Help Room

0 Replies

0 Votes

avatar image

Fantikhh asked

How can I make the RyacastHit2D hit an item from far, without my player standing beside it (while blocking my item by its own collider)?

Sep 27, '20 in Help Room

0 Replies

0 Votes

avatar image

Content1of_akind published

Whats the mobile touch version of raycast2D and Input.GetAxis Mouse X and Y in Unity?

Sep 21, '20 raycasthit2d

0 Replies

0 Votes

avatar image

NolandoFlorida published

alternative for out hit in 2D,RaycastHit2D out hit alternative

Sep 16, '20 2d·raycast·raycasthit2d

0 Replies

0 Votes

avatar image

SamuraiFaith asked

Why does my raycast not detect the player tag

Sep 13, '20 in Help Room

0 Replies

0 Votes

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

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 c# raycasting 2d physics2d collider2d 2d game unity 2d 2d-platformer raycasthit linerenderer collider ray 2d-physics tilemap collision detection scripting problem collision rotation layermask physics2d.raycast collision2d gameobject boxcollider2d linecast
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges