Master Grid Placement in Unity 2022 P1 - Calculating Cell Position

Sunny Valley Studio
Sunny Valley Studio
86.8 هزار بار بازدید - پارسال - In this Unity 3D tutorial
In this Unity 3D tutorial start creating a Grid Building System. First we will use Grid component to calculate a cell position for our mouse pointer position to use it in our placement system. Next we will expend the system with a custom grid shader and an object placement and removal system. At the end of this tutorial you will have a grid placement system that you can use in your own project.

House building system in unity project template:
https://courses.sunnyvalleystudio.com...

Starter Project:
Patreon: 80441380

Scripts on github:
https://github.com/SunnyValleyStudio/...

Assets used:
https://kenney.nl/

𝗛𝗮𝘃𝗲 𝗮𝗻𝘆 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀? 𝗝𝗼𝗶𝗻 𝘁𝗵𝗲 𝗱𝗶𝘀𝗰𝗼𝗿𝗱!
Discord: discord

𝗣𝗟𝗘𝗔𝗦𝗘 support the channel:
Patreon: sunnyvalleystudio

00:00 Grid system
00:30 Starter Project
01:00 Getting Mouse position on a plane
03:10 Placement System
05:20 Testing getting mouse position
05:50 Grid Component
08:11 Getting Grid Cell Position
09:36 Testing Grid Cell Selection
10:08 Adjusting offset for the Grid component

#unity3d #gamedevelopment #indiegamedev #sunnyvalleystudio
پارسال در تاریخ 1402/01/03 منتشر شده است.
86,825 بـار بازدید شده
... بیشتر