The 3rd in a series of Unity tutorials. In this tutorial we work through the basics of how to use a Raycast to detect a position in the 3D World space with the mouse and then place an object in that location. Following this, all the code is refactored to make it 'game' ready. It does assume some basic Unity background but even beginners shouldn't struggle too much :) This tutorial discusses Unity features such as:
- Raycast
- Input
- Raycasthit
- Normal
- Renderer
- SetActive
- Bounds
- ScreenPointToRay
- Tranform.Position
- LayerMask
- GameObject
- Instantiate
- Prefab
- Private / Public Methods and Variables
Look out for Part 4 of this tutorial in the future.
All code and description will be available on :

0 Comments