No video

How To Create Bullet Holes - Unreal Engine 4 Tutorial

  Рет қаралды 24,580

Matt Aspland

Matt Aspland

Күн бұрын

Hey guys, in today's video, I'm going to be showing you how to create bullet holes so that when you shoot something, a bullet hole will spawn where the bullet collides.
Bullet Hole Image: pixabay.com/photos/space-junk...
Make this in Unreal Engine 5: • How To Create Bullet H...
#Ue4 #UnrealEngine4 #Ue4Tutorial
___________________________________________________________________________
00:00 - Intro
00:12 - Overview
01:02 - Tutorial
07:11 - Final Overview
07:22 - Outro
___________________________________________________________________________
Unreal Engine 4 Tutorials Playlist: • Unreal Engine 4 Tutorials
The Basics Of Nodes Playlist: • The Basics Of Nodes In...
Blender Tutorials Playlist: • Blender Tutorials
___________________________________________________________________________
If you enjoy make sure to subscribe: / @mattaspland
Join My Discord Server: / discord
Follow Me On Instagram: / matt_aspland_
___________________________________________________________________________
If you want to support me, you can PayPal me at "matt.aspland.1@gmail.com". This is by no means expected or required. It is just a nice support :)
Link to PayPal: www.paypal.com/
You can also support me on Ko-Fi following this link: ko-fi.com/mattaspland
Thank you :) ___________________________________________________________________________
♫Music By♫
●Kronicle - Chill Noons
●Soundcloud - / the-chemist-10

Пікірлер: 85
@MattAspland
@MattAspland Жыл бұрын
Learn how to make this in Unreal Engine 5: kzfaq.info/get/bejne/hMd6ZKxkneCwfGg.html
@Josh_Makes_Games
@Josh_Makes_Games 2 жыл бұрын
ABSOLUTELY FANTASTIC, literally been searching for this for a week
@JKordero
@JKordero 3 жыл бұрын
Thank you so much, thanks to you now my bullets hits and shows a particle system at the hit location. Keep the hard work, dude!
@raisgamesnz325
@raisgamesnz325 Жыл бұрын
Thank you so much for this video! You make amazing tutorials!
@victordayet
@victordayet Ай бұрын
Great tutorial! Thanks a lot
@JAYDEGARROW
@JAYDEGARROW 3 жыл бұрын
wow thank you. this was the only tutorial that worked for me
@RtxRob
@RtxRob 3 жыл бұрын
This is one of the rarest channels where I like the video before I watch it, btw nice tutorial :)
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much mate! That really means a lot to me :)
@unrealengineruseng9583
@unrealengineruseng9583 Жыл бұрын
Thank you !
@FR_Fizy
@FR_Fizy 2 жыл бұрын
This helped thanks so much!
@rahatmorshednabil9491
@rahatmorshednabil9491 3 жыл бұрын
Great tutorial!!
@TiNNx
@TiNNx 3 жыл бұрын
Nice and simple tutorial, very cool.
@MattAspland
@MattAspland 3 жыл бұрын
Thanks, glad you enjoyed it :)
@Ghost-zk6ny
@Ghost-zk6ny 2 жыл бұрын
nice tutorial really thx for that
@theofficialamt6626
@theofficialamt6626 3 жыл бұрын
This is such a great Tutorial!
@MattAspland
@MattAspland 3 жыл бұрын
Thanks man, happy to hear it helped :)
@stevenwynn819
@stevenwynn819 3 жыл бұрын
Wow! This is so cool!
@MattAspland
@MattAspland 3 жыл бұрын
Thanks Steve! :)
@abdullahsohail5395
@abdullahsohail5395 3 жыл бұрын
Absolutely amazing video
@MattAspland
@MattAspland 3 жыл бұрын
Thank you so much! :)
@poprostukamil123
@poprostukamil123 2 жыл бұрын
Thanks!
@beamngsamurai8
@beamngsamurai8 3 жыл бұрын
Thank you verry nice!
@MattAspland
@MattAspland 3 жыл бұрын
No problem, thank you!
@stormolflak
@stormolflak 2 жыл бұрын
Thanks
@justpixel5717
@justpixel5717 Жыл бұрын
Ty
@cantthinkofaname925
@cantthinkofaname925 3 жыл бұрын
Nice upload! I have a small question, Are you able to do this but using a normal map or height map to create for example a deep cut effect?
@zeeshanparvez5235
@zeeshanparvez5235 3 жыл бұрын
Beauty.
@Chareidos
@Chareidos Жыл бұрын
Is there a way of blending between two base-textures with hit detection and do it localized? Like throwing paint balls at objects and characters, registering the hit at the location and changing the color respectively dependend on what kind of particle (different paint colors) was hitting?
@redfoxsis
@redfoxsis 3 жыл бұрын
Very good ;)
@MattAspland
@MattAspland 3 жыл бұрын
Thank you :)
@Alex00m
@Alex00m 3 жыл бұрын
Nice bro ❤️❤️❤️❤️😀
@bilegtni5202
@bilegtni5202 3 жыл бұрын
nice
@The_Twisted_Monk
@The_Twisted_Monk 3 жыл бұрын
Very nice tutorial Matt, thanks for that. You've helped a lot of people here (me included), and your awesome. Also wanted to let you know, Twisted Bliss G.E.M. kicks off soon, and there's a "Nibble" going up on my channel Jan 6. Also when my Twisted Bliss G.E.M. merch rolls out (Soon), I'll be letting you know because. I'll need to know where to ship your free Merch. If you would want some that is? Your my Dude Matt, and just keep doing what your doing. Thanks :) a Friend @ Twisted Bliss G.E.M.
@MattAspland
@MattAspland 3 жыл бұрын
Thank you and no problem! So happy to hear that I'm helping you out. That's all great news, glad to hear it's going well for you, I can't wait for the footage coming out soon. Wow, thank you so much man, I'd love some thank you, that'd be amazing. If you email me at the time, I can definitely let you know. So happy to hear of your progress, and thank you so much for your kind words! Keep it up :)
@SolantisA
@SolantisA 2 жыл бұрын
Wouldn't it be easier to just save the image with an alpha channel? Or is there a reason why you put a white background so that you can chromakey it out and leave behind a white edge that is gonna be noticeable on non grey surfaces?
@letsplaysomthing3799
@letsplaysomthing3799 7 ай бұрын
what about distance just u wana make arrow impact decal and i need it small, so when i hit somthing i must be realy close to can see decal how i can fix that
@nextanvil3346
@nextanvil3346 3 жыл бұрын
Hey there! Um I was thinking when I was searching how to make an online multiplayer I though it would work but I did all the right steps and it didn't work I tried all the tutorials and I am not sure if the creators are lying or not. Since I like your tutorials can you explain it to me why its not working or maybe tell your experience about it I really want to get it out of my chest. Thank you
@eesvlad9502
@eesvlad9502 2 жыл бұрын
The bullet hole disappear when i go to 7 steps and reapear when i go closer to the wall (idk if i maked a mistake but i think i didn't maked a mistake)
@flyingroads3498
@flyingroads3498 Жыл бұрын
How to spawn different decals depending on surface?
@BenLeskoGD
@BenLeskoGD 2 жыл бұрын
Hey, thanks for the tutorial. I know it's on older video, but how can I make the decals to spawn only on certain actors (like, just on walls but not on NPCs)? Now that I'm thinking, an itHasTag node would do the trick for me? :)
@crossbonesI
@crossbonesI Жыл бұрын
Incase you have the same question yet: add a group of variables with a branch node (IF) to the hit event. these variables may be in the excluded actors.
@MikeCnicE1
@MikeCnicE1 3 жыл бұрын
My Decal only spawns on actors set to simulate physics. Is this normal? What did I miss?
@MISSGNOMETF2
@MISSGNOMETF2 3 жыл бұрын
I'm trying to make a bioshock fan game thank you so much
@MattAspland
@MattAspland 3 жыл бұрын
That's great, no problem. All the best of luck with it :)
@bilegtni5202
@bilegtni5202 3 жыл бұрын
how do i create bullet that can damage?
@daltmandev
@daltmandev 3 жыл бұрын
Great tutorial but how would you do this with linetracing?
@MattAspland
@MattAspland 3 жыл бұрын
Thanks man, and what you could do is for the linetrace is "break out result" and for the "hit location" that is where you would spawn the decal. So the same as this video, but on the "break hit result" instead of "event hit".
@ChrisGrant-kj9pr
@ChrisGrant-kj9pr Жыл бұрын
What about bullet holes on different surfaces?
@csicee
@csicee 2 жыл бұрын
2:24 I cant find decal blend mode
@Seraian1
@Seraian1 3 жыл бұрын
I tried this using ray casts. It works for the most part but the material disappears at certain camera angles/mainly when directly looking at it. Is being in third person causing an issue?
@vaughanmacegan4012
@vaughanmacegan4012 2 жыл бұрын
So did I, so far, no problems, but, I was using C++ and not blueprints.
@syahidbaddry3009
@syahidbaddry3009 3 жыл бұрын
can you make different decal when hit different object??
@MattAspland
@MattAspland 3 жыл бұрын
You can do that yeah, I can add that to my list too if you want! :)
@syahidbaddry3009
@syahidbaddry3009 3 жыл бұрын
@@MattAspland thanks,i will wait
@MISSGNOMETF2
@MISSGNOMETF2 3 жыл бұрын
Can u make a basic gun that shoots a mall projectile that only damages enemy's
@MattAspland
@MattAspland 3 жыл бұрын
I can add that to my list yep :)
@bricktube3871
@bricktube3871 3 жыл бұрын
What would it look like if you shot a something with a bumpy mesh?
@MattAspland
@MattAspland 3 жыл бұрын
Since we are using decals, with this method the bullet hole will essentially 'wrap' around the bumps in the material. The decal will always stay stuck onto the surface it is on.
@presentartistx3616
@presentartistx3616 3 жыл бұрын
@@MattAspland cool thx
@robertmod7321
@robertmod7321 3 жыл бұрын
but how to spawn random bulletholes?
@MattAspland
@MattAspland 3 жыл бұрын
Hey, I'll link a screenshot down below of the code I made. What we could do is out of the "Return Value" for our "Spawn Decal Attached" we will "Set Decal Material". The new material for this will be a switch. In here you can add as many pins as you want for the amount of materials/bulletholes you have. Then we will create a new variable named "Material/Bullethole 1" and set this to be a "Material Object Reference". Again create as many of these as you want. Then plug these into the options on the switch. As for the "Index" we will simply get a "Random Integer In Range" with the min as 0 and max as how ever many options you have. This will then give you a random bullethole on each shot. Hope this helps and makes sense :) imgur.com/a/CQIaHMK
@robertmod7321
@robertmod7321 3 жыл бұрын
@@MattAspland wow thanks
@MattAspland
@MattAspland 3 жыл бұрын
@@robertmod7321 No problem, happy to help :)
@1d33f1x3
@1d33f1x3 2 жыл бұрын
@@MattAspland I was thinking of something similar, maybe an array of decal textures that you pick a random integer from. Would it save a step/be more efficient to pick the random material first then spawn the decal? Instead of spawning and then changing the decal. Also, instead of picking a random decal you could have decals for different surfaces or objects, and pick the appropriate one based on the hit component (one for glass, one for metal, wood, concrete, etc).
@playsmart5251
@playsmart5251 3 жыл бұрын
The decal fades out when I walk far away from it, any idea why?
@playsmart5251
@playsmart5251 3 жыл бұрын
Fixed. Added a node called "Set fade screen size" and set it no 0. Now it doesn't fade out
@GrepidYT
@GrepidYT 2 жыл бұрын
@@playsmart5251 Even though its 4 months old, thank you for replying to your old message as this helped me out :) Was thinking it may be some LOD Business but would never have guessed it was this. Thanks again :)
@C_CREATURE_
@C_CREATURE_ 2 жыл бұрын
Dude Yes Thank you
@jake87irwin
@jake87irwin 2 жыл бұрын
@@playsmart5251 What about making the decal appear on Painted Foliage like a tree trunk. It will work on single placed trees but when i shoot a painted tree I get an error from the "Set fade screen size"
@prudah7771
@prudah7771 3 жыл бұрын
Can you please make a tutorial how to make a laser to shoot?
@MattAspland
@MattAspland 3 жыл бұрын
I can look into that yeah! I also have a video on laser gun ammo if you are interested in that :) kzfaq.info/get/bejne/e7GUoKdoy7eokZs.html
@prudah7771
@prudah7771 3 жыл бұрын
​@@MattAspland Already found a very good tutorial on just changing the material of the Projectile to a Laser Material and then scaling the Projectile so it fits for a laser, but how can I disable the Physics of the Projectile so it doesn't bounces? ( I'm using the FPS Sample Project of UE )
@MattAspland
@MattAspland 3 жыл бұрын
​@@prudah7771 Hi, that's great. If you open up the projectile blueprint and select "Projectile" in the top left components list. Then in the top right, search for "Should Bounce" and disable that, so untick it. This should prevent it from bouncing. Hope this helps :)
@prudah7771
@prudah7771 3 жыл бұрын
@@MattAspland Thanks for the fast respond, but I already asked that on your discord (@meat) still thanks :D
@MattAspland
@MattAspland 3 жыл бұрын
@@prudah7771 ​ Ah no worries, I thought you did but I wanted to make sure just in case :D Glad you got it solved :)
@theofficialamt6626
@theofficialamt6626 3 жыл бұрын
I added you on Discord my name on there is Aurora51x. I know I asked about Cod Zombie Series but I'll throw an idea out. Do you think for a future video you can make a Cod Zombie Style Point System.
@MattAspland
@MattAspland 3 жыл бұрын
Nice one, and I can add that to my list as well yeah. Great ideas :)
@mirapakulinek
@mirapakulinek 3 жыл бұрын
Send me pls videos how create 1.gun 2.ammo 3.damage 4. Put And drop
@nextanvil3346
@nextanvil3346 3 жыл бұрын
Somehow the image is wrong so here is the link for all images.app.goo.gl/EHMARZSo2Rt7jxg46
@MattAspland
@MattAspland 3 жыл бұрын
Hey, thanks for sharing it. However, can you explain what is wrong with the image? That way I can fix it, because I know that one is copyright free and available to use in commercial projects.
@nextanvil3346
@nextanvil3346 3 жыл бұрын
@@MattAspland it's because it doesn't have a white background it has black with letters and some other stuff in the background
@MattAspland
@MattAspland 3 жыл бұрын
@@nextanvil3346 Ah okay, well like I said in the video you may have to edit that specific photo a little bit. But glad you found an easier alternative for yourself and others, again I'd just make sure that it is free and available to use. But other then that nice.
@nextanvil3346
@nextanvil3346 3 жыл бұрын
@@MattAspland oh thank you can this work on other projectiles
@MattAspland
@MattAspland 3 жыл бұрын
@@nextanvil3346 Yep this can work on anything you like really
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 27 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 19 МЛН
How To Create Bullet Holes In Unreal Engine 5 (Tutorial)
7:23
Matt Aspland
Рет қаралды 15 М.
How to Make Footsteps with Metasounds in Unreal Engine 5
8:48
Gorka Games
Рет қаралды 32 М.
The Most Common Mistake Beginners Make in Unreal Engine | UE5
12:17
Ali Elzoheiry
Рет қаралды 102 М.
UE5: How To Make Bullets - (Projectile Movement Blueprints)
3:43
How to raycast/line trace in Unreal Engine
8:07
The Unreal Cousinzzz
Рет қаралды 19 М.
I Made a Game With Only FREE Assets In Unreal Engine 5
11:45
Smart Poly
Рет қаралды 486 М.
Character Select From Main Menu - Unreal Engine 4 Tutorial
16:19
Matt Aspland
Рет қаралды 43 М.
How to Interact with a Chest in Unreal Engine 5
7:53
Gorka Games
Рет қаралды 10 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 27 МЛН