Skip to main content

Use of Raycast to determine certain game objects ?

Raycast can be use in many fire like : There are many raycast type but these two are most that i used. 1.Physics.Raycast               Player shooting/Fire 2.Physics.SphereCast         Detect A object to Apply force due to explosion effect. Simple Physics Raycast as shown below :    RaycastHit hit;   Ray ray;    void Update ()     {         if ( Input .GetMouseButton(0))         {             ray = Camera .main.ScreenPointToRay( Input. mousePosition);               if ( Physics .Raycast(ray, out hit))             {                 Debug .Log( "Ray cast hit too " + hit.collider.gameObject.name);             }         }  }

Advantage to Know Before Choosing Unity 3D.


Unity 3D is one of the leading Game Engine now a days.But,before you  Begin with Unity here are the some advantage you know before you begin with the Unity. 

Here is the list :

1. Cross platform,The games you make can be rendered to be used on over 25 platforms across mobile, console, desktop, TV, AR, VR and the Web. Imagine having all of that power in the palm of your hands. That’s how powerful and diverse it is.

2.Unity is the best Engine for Game development. It is very effective while rendering 2D and 3D scenes.The quality offered is also relatively good compared to other Engine.

3.The assets store of unity is also great when compared to other platforms.The tech support for Unity is efficient.The tech support members are also highly skilled and they can be relied upon in case of any technical issues.

4.The Unity game engine is also easier to use compared to many other technologies. There are so many other complicated technologies which become tougher while we use. Unity is an exception here.

5.Unity is not open source,but the cost is very less when compared to all its other Game Engine Cost efficiency is one of the main advantages of using Unity Engine.

6.Unity 3D has a powerful easy-to-use editor which is a complete package in itself. It is loaded with features and is highly flexible. With Play Mode, Timeline storytelling tools, Enlighten-powered Real-time Global Illumination, Advanced memory profiling, Regrettable animations and a whole lot of exciting features aiding you in your game development process, you can never go wrong when you use the editor.




Comments