spaderdabomb
spaderdabomb
  • 121
  • 651 564
I made the BEST object placement system
Let's talk about object placement! We build a system for placeable objects, like structures, chests or crafting stations in this tutorial geared for open world games. Using raycasting, and material swapping, we achieve a nice blue preview object that turns into a red preview when in an invalid position. This system can easily be extended to work on a grid as well!
--------------------------------------------------------------------
Project Files
Placeable Object Source: github.com/spaderdabomb/OpenWorldTemplate/tree/object-placement-final
Open World Template: github.com/spaderdabomb/OpenWorldTemplate/tree/main
Free Chest Model: www.patreon.com/posts/free-chest-model-111127801
--------------------------------------------------------------------
Related Videos
3rd Person Controller: ua-cam.com/video/muAzcpAg3lg/v-deo.html
Open World in 5 Minutes: ua-cam.com/video/nCDGjLRecrs/v-deo.html
--------------------------------------------------------------------
Patreon: www.patreon.com/spaderdabomb
Subscribe: ua-cam.com/channels/RLa0eEG0rOR7APzAT1dPww.html
Discord: discord.gg/NpK5CXe
Twitter: spaderdabomb
Twitch: www.twitch.tv/spaderdabomb
--------------------------------------------------------------------
Music from #Uppbeat (free for Creators!):
uppbeat.io/t/21-on-the-block/moonlit-fantasy
License code: CKZKKOMCGFJE2FUP
--------------------------------------------------------------------
Chapters
0:00 Intro
0:32 Make a placeable cube
1:28 Enter and Exit Placement Mode
2:56 Creating a preview cube
4:39 Basic object placement system
8:24 Polishing the preview object
14:20: Invalid positions
18:56: Adding a chest object
20:23: Final Demo
Переглядів: 1 513

Відео

Main Menus Have Changed in 2024
Переглядів 677Місяць тому
In this tutorial we go through the basics of making a main menu in UI Toolkit. This uses UI Builder, which is similar to a web dev approach to UI in Unity. We learn how to use hover events, clickable buttons, and navigating between scenes so that you can create a main menu scene and a game scene and switch between them. Patreon: www.patreon.com/spaderdabomb Subscribe: ua-cam.com/channels/RLa0eE...
Designing a Stylized, Custom Environment (beginner friendly!)
Переглядів 1,5 тис.2 місяці тому
In this tutorial, we design a nature environment from the ground up using Blender, Unity and Photoshop (can also use GIMP, KRITA, or other free software instead of Photoshop). We will make several custom assets, including stylized grass, ground textures, trees and rocks. To make these assets, we follow a texture based workflow, making 3D meshes and grass cards in Blender, shaders and materials ...
1ST AND 3RD PERSON CONTROLLER - FINAL DEMO (Part 8)
Переглядів 1,4 тис.3 місяці тому
This is the final demo, where we show off the completed 1st and 3rd person controller. It fully downloadable for free, and I've made the source code available as well. This is part of a free complete course for making a player controller, I hope you enjoy it! ···················································································· Project Files Source Code: github.com/spaderdabomb/F...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (Part 7)
Переглядів 5743 місяці тому
In this part, we finish our 1st person controller, patch some key bugs, and look into making an exportable unity package for our player controller. Using this, we can easily import our player controller into a new project with one click. This is part of a free complete course for making a player controller, I hope you enjoy it! ···································································...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (Part 6)
Переглядів 1,2 тис.3 місяці тому
In this part, we put some finishing touches on our jump mechanic, allow for camera zooming and scrolling, add in some actions, and discuss animation layers. By using layers and avatar masks, we can blend actions and locomotion/movement together to form seamless blended animations. This is part of a free complete course for making a player controller, I hope you enjoy it! ·······················...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (Part 5)
Переглядів 1,3 тис.4 місяці тому
In this part, we'll cover slope handling, wall handling and steps. Slopes are a difficult part of any player controller, and we make use of our state machine and antibump parameters to ensure near perfect edge detection and amazing ground detection. This is part of a free complete course for making a player controller, I hope you enjoy it! ·······················································...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (Part 4)
Переглядів 1,4 тис.4 місяці тому
In part 4 of this series, we go through turning in place while idling - a difficult feature that often gets forgotten about. Additionally, we add in strafing and walking mechanics. In this series, I'll be going over beginner through advanced topics for building a complete player controller, both for 1st and 3rd person. We'll covers topics like movement, jumping, slopes, wall handling, step hand...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (Part 3)
Переглядів 1,5 тис.5 місяців тому
In part 3 of this series, we go through jumping mechanics and animations. This includes distinct jumping and falling states with explicit transitions to allow for dynamic scene interaction. In this series, I'll be going over beginner through advanced topics for building a complete player controller, both for 1st and 3rd person. We'll covers topics like movement, jumping, slopes, wall handling, ...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (Part 2)
Переглядів 2,5 тис.5 місяців тому
In part 2 of this series, we go through animations for running, sprinting and idling states. Additionally, we make a basic enum state machine to keep track of our player's movement state. In this series, I'll be going over beginner through advanced topics for building a complete player controller, both for 1st and 3rd person. We'll covers topics like movement, jumping, slopes, wall handling, st...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE
Переглядів 7 тис.5 місяців тому
In this series, I'll be going over beginner through advanced topics for building a complete player controller, both for 1st and 3rd person. We'll covers topics like movement, jumping, slopes, wall handling, step handling, animation, blend trees, Mecanim, Cinemachine, avatar masks, animation layers and multiplayer. This is a free complete course for making a player controller, I hope you enjoy i...
1ST AND 3RD PERSON CONTROLLER - COMPLETE COURSE (teaser)
Переглядів 2 тис.5 місяців тому
In this upcoming series, I'll be going over beginner through advanced topics for building a complete player controller, both for 1st and 3rd person. We'll covers topics like movement, jumping, slopes, wall handling, step handling, animation, blend trees, mecanim, cinemachine, avatar masks, animation layers and multiplayer. I hope you enjoy the series and I will link in the description once its ...
How Games Trick You Into Seeing Smooth Animation
Переглядів 1,8 тис.7 місяців тому
Whether you are making a 2D game or 3D game, Open World or 3D Puzzle game, we always need a player with smooth animations and transitions. How do studios make characters smoothly transition between states without making hundreds of animations? Blend Trees! Blend trees are part of any major game engine, so whether you're using Unity, Unreal Engine, or Godot, you can easily incorporate blend tree...
Build a beautiful 3D open world in 5 minutes | Rain, Snow and Post-processing | Pt. 5
Переглядів 9 тис.7 місяців тому
Build a beautiful 3D open world in 5 minutes | Rain, Snow and Post-processing | Pt. 5
Simple Day Night Cycle for 3D Open World Games
Переглядів 7 тис.8 місяців тому
Simple Day Night Cycle for 3D Open World Games
Build a beautiful 3D open world in 5 minutes | Environment, Structures, Props | Pt. 4
Переглядів 17 тис.11 місяців тому
Build a beautiful 3D open world in 5 minutes | Environment, Structures, Props | Pt. 4
Is it the end for Unity?
Переглядів 1,2 тис.11 місяців тому
Is it the end for Unity?
Build a Beautiful 3D Open World in 5 Minutes | Pt. 3
Переглядів 16 тис.Рік тому
Build a Beautiful 3D Open World in 5 Minutes | Pt. 3
I made a VIRAL game in 24 hours
Переглядів 14 тис.Рік тому
I made a VIRAL game in 24 hours
Build a beautiful 3D open world in 5 minutes | Water, Lakes, Environment | Pt. 2
Переглядів 73 тис.Рік тому
Build a beautiful 3D open world in 5 minutes | Water, Lakes, Environment | Pt. 2
Stop Using Simple If Statements, Start Using This
Переглядів 768Рік тому
Stop Using Simple If Statements, Start Using This
Superbullets Are A Nightmare For Gamers and Developers
Переглядів 510Рік тому
Superbullets Are A Nightmare For Gamers and Developers
Blur Any Background in Unity | 2024
Переглядів 17 тис.Рік тому
Blur Any Background in Unity | 2024
Make A Floating Island in 5 minutes | Blender 3.4
Переглядів 14 тис.Рік тому
Make A Floating Island in 5 minutes | Blender 3.4
Custom Fonts in Unity in 1 minute
Переглядів 3,2 тис.Рік тому
Custom Fonts in Unity in 1 minute
Create an Advanced Bullet Hole Effect In Your Game | Unity 2024
Переглядів 3,7 тис.Рік тому
Create an Advanced Bullet Hole Effect In Your Game | Unity 2024
Crush ALL Lag in Unity with New Add-On | Unity 2023
Переглядів 2,9 тис.Рік тому
Crush ALL Lag in Unity with New Add-On | Unity 2023
Bubble Shield Shader Graph Tutorial | Unity 2023
Переглядів 5 тис.Рік тому
Bubble Shield Shader Graph Tutorial | Unity 2023
Build a beautiful 3D open world in 5 minutes | Unity
Переглядів 375 тис.Рік тому
Build a beautiful 3D open world in 5 minutes | Unity
Bouncedown 2 Gameplay
Переглядів 3583 роки тому
Bouncedown 2 Gameplay

КОМЕНТАРІ

  • @Kostavlogchannel
    @Kostavlogchannel 20 годин тому

    thank you like the game ones again thank you.

  • @apurbaacharjee5466
    @apurbaacharjee5466 День тому

    Is there any way to stop looping the cycle, its constantly changing which is not realistic😪

  • @UnityDev123
    @UnityDev123 День тому

    i learn so much in this tutorial and also i have question for you can you suggest me how can make under water swim if you make a tutorial Thank you! ❤

  • @MomoNoor
    @MomoNoor 2 дні тому

    Want to say thank you so much. A lot of other videos do not come close to explaining things as well as you do.

  • @universegames7692
    @universegames7692 3 дні тому

    Okay, here I'm going to off. Too complex

  • @Dajuhf
    @Dajuhf 4 дні тому

    Did my man created the Windows XP desktop background in 2:57?

  • @deli5777
    @deli5777 4 дні тому

    A 5 min unity vid that actually helps? Is this even allowed?

  • @aerilashraf
    @aerilashraf 4 дні тому

    i will repeat over and over all the parts so maybe one day it could make sense. i hope. tq for your guidance

  • @bloxxybaddie
    @bloxxybaddie 4 дні тому

    great video! i would love to learn how to add more game-play elements like collecting items, using tools/weapons, and general interactive stuff.

  • @Deadly-Cat-MSM
    @Deadly-Cat-MSM 4 дні тому

    (2D) how would you go about toggling it based on an ingame button? I'm probably missing something easy

    • @spaderdabomb
      @spaderdabomb 4 дні тому

      I would just get a reference to the post processing component on the game object, then toggle SetActive(true) or SetActive(false)

  • @DeclanFaircloth-Walshe
    @DeclanFaircloth-Walshe 4 дні тому

    This isn't working for me, I'm using URP, would that be causing the issue?

  • @gamingpugsstudios7068
    @gamingpugsstudios7068 5 днів тому

    Thank you so much! Very nice series

  • @bloxxybaddie
    @bloxxybaddie 5 днів тому

    this is so helpful!!!! a lot of other tutorials are too complicated and end up not giving me any results, but yours is really easy to understand and ive been able to create a whole 3D island! awesome job :)

  • @aerilashraf
    @aerilashraf 5 днів тому

    i support u

  • @projectdusan
    @projectdusan 5 днів тому

    very glad that i was finally able to support you on Patreon :D

  • @skanderbenturkia3820
    @skanderbenturkia3820 6 днів тому

    Started my 4th year in university last week and been practicing with unity the last part of this summer and my teacher can’t believe how much im advanced thanks to ur videos 🫶🫶🫶🫶 thank you for making me fall in live with what i do 🫶🫶

  • @gamingpugsstudios7068
    @gamingpugsstudios7068 9 днів тому

    Awesome, thank you!

  • @gamingpugsstudios7068
    @gamingpugsstudios7068 9 днів тому

    Awesome, thank you!

  • @JS8886-p8y
    @JS8886-p8y 10 днів тому

    I'm having a problem with the vertical velocity. For whatever reason, it keeps jumping around when it should be grounded. This leads to constantly switching into the jumping state... I followed along everything really well, but I think the code you write in the video and what is in github and what is actually running in game are not the same (all 3 of them)...

    • @spaderdabomb
      @spaderdabomb 10 днів тому

      I think I’ve seen this when the ground layers are not set properly. Can you make sure you didn’t set your ground off of the default layer? If you set your ground to a different layer, you need to add it to the player controllers ground layers

  • @EphemeralDust
    @EphemeralDust 10 днів тому

    So this isn't really a course about 1st person controllers. Everything after this video only applies to the 3rd person controller, because the animations, turning, and interacting will all not function the same with the first person controller.

    • @spaderdabomb
      @spaderdabomb 10 днів тому

      it actually does, see the last video. I make two separate prefabs and a few small modifications and it becomes a 1st person controller. For example, I change position of camera, mask certain parts of the body so they aren't visible, etc. The reason it's important to use an actual character for a 1st person controller like I'm doing here is because multiplayer needs some type of avatar. You can't just make a 1st person multiplayer game without going through all of these steps. if you're making a single player FPS game, then for sure this is overkill.

  • @kanito107
    @kanito107 10 днів тому

    Love the series and the way you are teaching. So I subscribed. Are there any resources i can read for more information on game development in unity. Thanks.

  • @tacticaltiles4874
    @tacticaltiles4874 11 днів тому

    Man, you are da bomb :) seriously! I'm just getting into Unity and C# and this series has been amazing, thank you so much for sharing your knowledge.

  • @PRATEEKSINGH-m3s
    @PRATEEKSINGH-m3s 13 днів тому

    can you please help me with reduction of lag as I have pretty slow laptop

  • @36darkeyes
    @36darkeyes 14 днів тому

    I'm super broke right now, but as soon as I can I'm coming back to support your channel. This was awesome and I'm inspired just by this video.

    • @spaderdabomb
      @spaderdabomb 14 днів тому

      No worries! Appreciate the comments and of course feel free to join our Discord community =)

  • @mattg1345
    @mattg1345 14 днів тому

    Great to see a new tutorial from you, your explanations are brilliant and clear.

  • @AlbertEinstein-lo9yw
    @AlbertEinstein-lo9yw 14 днів тому

    Very well job brother.

  • @davidtourangeau
    @davidtourangeau 14 днів тому

    Merci !

    • @spaderdabomb
      @spaderdabomb 13 днів тому

      You're amazing!

    • @davidtourangeau
      @davidtourangeau 13 днів тому

      @@spaderdabomb I would have liked to give more, but I'm a bit short on dough this month; however, I want to modestly reward all the work you do for everyone for free. I feel it's necessary to acknowledge the effort you put in

  • @Stikerboy1
    @Stikerboy1 14 днів тому

    Hold on bro my unit is still opening 🤣🤣

  • @ExpertRelic
    @ExpertRelic 14 днів тому

    thanks for the tutorial. could you make a video on how to make a inventory system like minecraft? with armor and stuff and maybe crafting? i already have a inv system for my self but its junky and i cant figure out how to add like armor to it for crafting i think ill use this tutorial for a special block when placed then look at it right clickthen bunch of buttons and what you need to craft it.

    • @spaderdabomb
      @spaderdabomb 14 днів тому

      I’ve been thinking about this. I built my own inventory system in a game I’m making recently that works very well, but it’s a surprisingly complicated topic. Looking into the best way to distill it into a manageable tutorial but it’s on the horizon :)

    • @ExpertRelic
      @ExpertRelic 14 днів тому

      @@spaderdabomb thank you

  • @TryoRacer
    @TryoRacer 14 днів тому

    Awesome videos!!! they have really helped me! I did run into an issue though, so when I got to the very end and finished applying the interruption source to next state for all of the transitions, I noticed my character will just make a 90 degree turn with out doing the animation. After looking at the animator screen for a while I also noticed that the turn left and right blocks in the animator would, for a split second show the little blue bar when i was turning in either direction. So im wondering if for whatever reason the turn animations are being interrupted and going to the next state before they even have a chance to start the animation? Everything goes back to normal when i revert the transition interruption source back to none, so im puzzled.

    • @TryoRacer
      @TryoRacer 14 днів тому

      Nvm lol, figured out on the main transition from Locomotion to Any State, both transitions I had isIdling and forgot to add isRotatingToTarget! Thank you for these videos, like i said they have really helped me a lot, im still very very behind on my understanding of C# but with theses videos I can still create something cool!

  • @hldfgjsjbd
    @hldfgjsjbd 15 днів тому

    For jumping input best practice is to use an event

    • @spaderdabomb
      @spaderdabomb 14 днів тому

      I figure if people want events they can just replace the input callback and invoke the event, it would probly be like 2 lines of code :)

  • @hldfgjsjbd
    @hldfgjsjbd 15 днів тому

    Please add Public Domain license to the project. Thank you.

    • @spaderdabomb
      @spaderdabomb 14 днів тому

      Sure thing, I’ll add it tonight

    • @hldfgjsjbd
      @hldfgjsjbd 14 днів тому

      @@spaderdabomb Nice, thank you! Also, is there any chance on touching such topics as feet IK, as well as adding animations for "jump start" and "jump end"?

  • @hldfgjsjbd
    @hldfgjsjbd 15 днів тому

    Please add Public Domain license to the project. Thank you.

  • @f41nT
    @f41nT 15 днів тому

    epic series!

  • @AXISMotionStudio
    @AXISMotionStudio 16 днів тому

    Loved it! Which vs code theme are you using?

    • @spaderdabomb
      @spaderdabomb 16 днів тому

      Atom One Dark with Fira Code font, it's the best =)

  • @finalkill
    @finalkill 16 днів тому

    For some reason my achievements button doesnt register the hover, although i copied it like the others

    • @spaderdabomb
      @spaderdabomb 14 днів тому

      Make sure the achievements-button selector actually got applied to it. I noticed UI Builder can’t be finicky with drag and drop

  • @MaxYenin
    @MaxYenin 17 днів тому

    Thank you! I really appreciate how you both show and teach. Most UA-cam tutors teach without showing the result beforehand. Some even skip parts of the process, saying things like "I won't show this or that; you can figure it out on your own." I’m grateful that you take the time to show the entire process and explain everything clearly. Keep up the great work!

  • @ekekw930
    @ekekw930 17 днів тому

    Thanks!

  • @karthiyayaniamma5686
    @karthiyayaniamma5686 17 днів тому

    Hey rx 6600xt and 5600x is good?

  • @KeanAntonio-v8b
    @KeanAntonio-v8b 18 днів тому

    bro why is my tree asset is color pink?

    • @spaderdabomb
      @spaderdabomb 18 днів тому

      Did you start a URP project? If so, in the asset folder you imported, find the folder named SRP, and double click the Unity package file with the latest URP version

  • @lwwinnin
    @lwwinnin 18 днів тому

    Thank you for displaying your objects already snapped to the ground.

  • @finalkill
    @finalkill 18 днів тому

    I have a problem with the shader! My negate function doesnt work. It is just black. Pls help! Edit: I connected the boxes wront xd

  • @aiyenurooluwaseun2280
    @aiyenurooluwaseun2280 18 днів тому

    Awesome!!! Thanks man!!!

  • @castlecodersltd
    @castlecodersltd 18 днів тому

    A great explanation, thanks

  • @LoneLuminaryDev
    @LoneLuminaryDev 18 днів тому

    Cool! This is exactly what I needed to add to my game. I already have a construction system that snaps objects like walls and foundations, but chests and other props are non-snappable to each other. Thanks for this tutorial!

  • @arthur-Ludwig
    @arthur-Ludwig 18 днів тому

    hello, can you look into procedurally generated terrains and trees? Would be pretty interesting like the low poly ones over here.

    • @spaderdabomb
      @spaderdabomb 18 днів тому

      I have something in the works for this, long ways to go but happy with how it’s progressing

  • @ankfmankfm7231
    @ankfmankfm7231 18 днів тому

    I love yorum videos best tutoriols +first and pin

  • @BoglogOnlyMe
    @BoglogOnlyMe 18 днів тому

    When I look up at the camera, the trees suddenly disappear. The problem is in the LOD component. Trees that support LOD are not displayed when configured via Terrain. How to fix this?

  • @castlecodersltd
    @castlecodersltd 18 днів тому

    NIce one, thanks for sharing 🙂

  • @DragisaDragisa-j9b
    @DragisaDragisa-j9b 19 днів тому

    thank you