Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

Raycasting in Unity 5.0 Beta 16

Discussion in 'Unity 5 Pre-order Beta' started by Tomza, Dec 11, 2014.

  1. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Does your raycasting work for you?

    I have two game objects - one was made with stable 4.x and another I've made with 5.0 today. Raycasting works with the first object and doesn't with the second one. The script is similar - I just copied and slightly modified to use with the second object. Both of the object have Box Colliders attached.
     
  2. AustinRichards

    AustinRichards

    Joined:
    Apr 4, 2013
    Posts:
    321
    Raycasting works for me still.
     
  3. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Thank you! I think I should look at the problem again. Maybe there's something wrong with my models or code.
     
  4. Tomza

    Tomza

    Joined:
    Aug 27, 2013
    Posts:
    596
    Yes, I made a small mistake in the script.

    Raycasting works!