Advertisement

How to Make It In Unity : Islanders Mechanics : Part 3 : Object Position and Placement

How to Make It In Unity : Islanders Mechanics : Part 3 : Object Position and Placement 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 :

Unity,Islanders,C#,Indiedev,Indie Dev,position,screen,world space,position to world,world to screen point,unity3d,gamedev,game design,game development,mouse,click,input,interact,raycast,layermask,bounds,pivot point,unity tutorial,make game with unity,unity 3d,raycasthit,ScreenPointToRay,LayerMask,GameObject,Bounds,SetActive,Normals,Normal,Renderer,Refactor,Refactoring,placement,Instantiate,Prefab,

Post a Comment

0 Comments