How To Add Weapon to Character in Unreal Engine 5 Quick Tutorial

preview_player
Показать описание


You will learn a quick way to attach any kind of weapon to a character in UE5 using Blueprints.

Questions? Let us know in the comments!

-------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------
Connect with us here:

-------------------------------------------------------------------------------------------------------------
Get in contact with us here!
-------------------------------------------------------------------------------------------------------------
AFFILIATE LINKS*

*By making a purchase through any of our affiliate links, we receive a very small commission at no extra cost to you. This helps us on our mission to provide quality education to you. Thank you.

Timestamps:
0:00 Changing Weapon Pivot Point
0:42 Creating the Weapon Blueprint
1:17 Add Weapon socket to Skeletal Mesh
2:30 Preview Weapon with the Socket
3:20 Adding our Weapon to our Character
5:10 Try it out!
Рекомендации по теме
Комментарии
Автор

Hello!👋

By purchasing any of those tutorials we will get a small commission at no extra cost for you! If you want to support the channel and level up your game dev skills this is a great way to do it! This helps us on our mission to provide high quality education to you for free!


If you liked this video, subscribe for more! Comment below what kind of Tutorial you would like to see next!👇

unfgames
Автор

Thanks for using a sword, rather than a gun, as an example! Just what I've needed.

lukeagex
Автор

You're my hero with these tutorials.

SangHendrix
Автор

What about doing this for a skeletal mesh that you're only using for a cinematic. Not a playable character.

Malachism
Автор

This was an amazing tutorial! however I used the new manny with unreal 5.so movements got messed up.I thought i had to change collisions in mesh...but i changed it in sword bp..then it worked... Thank you once again!!!

wildmillardz
Автор

great tutorial, how do i make the sword not collide with the character then?

SecondSunofficial
Автор

Thanks ! It works but when I try to play, my character doesn't move. I think my problem is with the link from "Event Begin Play". How to do if there's already one ?

canapex
Автор

following this tutorial for some reason my camera also snaps to the weapon socket. Any ideas on how to fix this issue?

iqbalmalik
Автор

Hi thanks for the great tutorial. I’ve followed all the steps in this video and added a weapon to the enemy AI and it was there in the skeletal mesh but it wasn’t there when I played the game. Any thoughts on solving this? Many thanks!

nasryahya
Автор

Works in 5.2.1 only issue I am having is the camera wants to zoom in when I am looking at the sword for some reason

Lifeport-z
Автор

I'm having a bit of an issue. I made my own sword asset and I'm finding movement kinda broken with my player due to the sword hitting against the legs. Any way to stop the player colliding with the held item?

Alistr
Автор

Thank you for the tutorial.
Could you please also tell what should we do when we just want to spawn the character with the socket for cutscenes? For animation in sequencer

asafox
Автор

I know this is an old video, but when I apply this to a key or any startup, the character goes flying in a direction. It applies to the character properly, but I can't figure out why the player flies off or why I need to use a separate key to give myself the weapon since there is only the option to have one "on startup" node. If it helps, I'm using custom animations rather than the IK animations UE5 comes with.

JoelGraber-rh
Автор

I have a question, if we want the sword to physically interact with the scenery and with other swords using the physical animation component. Should we convert our weapon to skeletal mesh or something else ?

keldelink
Автор

I JUST ADD A SWORD TO MY ZOMBIE AND ITS FREAKING AWESOME I FEEL SO HAPPY THANK YOU

jeromeneupert
Автор

can you do a weapon class system tutorial for ue5?

JHSTR
Автор

Awesome vid I do have a question though
My character uses two weapons at the same time is it possible for Get Socket Transform to have two names so that both weapons can be used?

hwrzocb
Автор

Everything works the sword actually looks great in the socket in hand however, apply this code to my event graph with UE5 Manny it breaks my movement controls completely. It's suddenly inversed and he goes in circles. This is what makes these tutorials so hard no one explains the setup as using any different mannequin seems to provide radically different results.

UnbeatenSpartan
Автор

What if my original character doesnt have a BP? I dont need BP because I am doing cinematics not games.

rysone
Автор

Great tutorial! But how would you make it if the player got to choose their weapon from options in the beginning, so there would be multiple spawned weapon choices? Thank you.

coryt