Unreal Engine 5.1 | Static Mesh Sockets - Attach a weapon to the hand dynamically

  Рет қаралды 14,301

Coding with Rudy

Coding with Rudy

Жыл бұрын

In this video I want to show you how you can put a weapon in your hand using sockets with static meshes during game.
Sockets are basically attach points you can place on your Static Mesh. Once set up, you can connect objects to the socket.
In this example I use a simple lamp as weapon, which is included in the Starter Content of Unreal Engine.
🌟🌟 Places you can find me 🌟🌟
🤓 LinkedIn: / %f0%9f%8e%b9-rudolf-ci...
🎥 KZbin: / @codingwithrudy
🧠 GitHub: github.com/Cicko
✍️ Medium: / rudolfcicko2011
🤔 StackOverflow: stackoverflow.com/users/90276...
💡 Twitter: / rudolfcicko2
👍 Facebook: / codewithrudy

Пікірлер: 12
@Guest-pr6vb
@Guest-pr6vb Жыл бұрын
thanks this helped me out for mesh that was deformed in my animation. I didnt want to have to rig it so this was a nice work around
@sepp1889
@sepp1889 Жыл бұрын
Thank you! Helped me a lot!
@brennoluktv4371
@brennoluktv4371 23 күн бұрын
Nice vídeo like
@LightningTrooper
@LightningTrooper 4 ай бұрын
socket on the bones != Static Mesh Socket
@gladiyit6771
@gladiyit6771 4 ай бұрын
ty
@DigitalStaff
@DigitalStaff Жыл бұрын
Cool video! Thanks for sharing. How would you connect an item between two sockets? Like say a two handed sword that would be held between the left and right hands? Thanks
@codingwithrudy
@codingwithrudy Жыл бұрын
Thank you Oscar! If you want to switch between two sockets, you would have to duplicate the node "Attach Component to Component" used in 5:21 with the same parameters except the Socket Name, where you have use the another socket. Then you have to define the conditions which will decide whether you have your sword in one hand or another. for example you use the letter Q for the left hand, and the letter E for the right hand, and connect those events to the corresponding nodes. Also you could maybe define a more complex conditions using the Branch node, so under specific conditions of different variable values you decide which hand should hold the sword. Let me know if it's not clear, I would be happy to make another video about that :) Cheers, Rudy
@its_soaz
@its_soaz 4 ай бұрын
thanks. ik this videos old but how would u go about clicking E again to put it back on ur back?? Because with my understanding it might not know wether to go on ur back or ur hand if u have 2 set to the same key.
@its_soaz
@its_soaz 4 ай бұрын
I figured it out. u would just use a Flipflop blueprint
@chrismills-ps7lt
@chrismills-ps7lt Жыл бұрын
i will pay you to help me start my own rage server
Attach a Weapon to your Character using Sockets - Unreal Engine 5
12:34
Matt Courtois - Technically Animation
Рет қаралды 3,9 М.
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 64 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 8 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 79 МЛН
Unreal Engine Materials in 6 Levels of Complexity
44:12
pwnisher
Рет қаралды 159 М.
How To Use Sockets in Unreal Engine
10:41
Just Another Dang How To Channel
Рет қаралды 10 М.
How To Add Weapon SOCKETS in Unreal Engine 5
6:10
Buvesa Game Development
Рет қаралды 16 М.
The Most Common Mistake Beginners Make in Unreal Engine | UE5
12:17
Ali Elzoheiry
Рет қаралды 95 М.
Why Rendering your Blender Project in Unreal Engine 5 is a Game-Changer!
12:29
Why Unreal Engine 5.4 is a Game Changer
12:46
Unreal Sensei
Рет қаралды 1 МЛН
How to attach a weapon to your character in Unreal Engine 5
7:01
Unreal By Yourself
Рет қаралды 31 М.
How to Make A Simple Aim Offset in Unreal Engine 5
9:15
Gorka Games
Рет қаралды 48 М.
I went through ALL Unreal Engine Plugins, here is what I found
36:35
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 64 МЛН