Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Spherical Raycast Unity

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 272
    Comment on it

    Hello Readers !!

    Today I will explain you very important concept of gaming.

    We all need to check objects in terms of Enemies, Players, Obstetrical, Walls many other things in the game.

    We can do this by putting Colliders also. But we also have a Raycasting technique with us.

    Through Raycast we can check the objects which are coming in our way.

    Physics.SphereCast()

    This is the function which we can use. 

    This will required following parameters.

    With this you will able to check the objects which is coming in your way.

     

    Try this and let me know if you have issue while using this.

    Keep coding.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: