Тёмный

#2 A First-Person Shooter (FPS) - Unreal Engine 5 Tutorial - Weapon + Left Hand To Weapon IK Socket 

PFS
Подписаться 4 тыс.
Просмотров 47 тыс.
50% 1

Full project with extras: / primevalforest
First Person Shooter Tutorial Series: Making Left hand stick to weapon. Please comment any suggestions to improve the tutorial series in the comments section. Additionally, feel free to ask any questions you may have. Hope you enjoy!
Help my development by wishlisting: store.steampowered.com/app/19...
Discord: / discord
Midnight Stroll by Ghostrifter Official | / ghostrifter-official
Music promoted by www.chosic.com/free-music/all/
Creative Commons CC BY-SA 3.0
creativecommons.org/licenses/...
Font by: David Libeau
Timestamps:
00:00 - Intro
00:34 - Adding Weapon
03:53 - Left Hand IK
07:49 - Blueprint Interface
09:15 - Left Hand Logic Function
13:37 - Calling function in Anim BP
15:36 - Thanks for watching!

Опубликовано:

 

29 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 118   
@chirayugupta7698
@chirayugupta7698 2 месяца назад
No one does a proper IK video, man this helps like a TON!!
@darkknightlogician
@darkknightlogician 5 месяцев назад
This has been awesome. Thank you for the tutorial so far, Keep the amazing work going.
@voidcompiler3799
@voidcompiler3799 5 месяцев назад
Thank you!
@FFTVYoutube
@FFTVYoutube 3 дня назад
I just wanted to say thankyou for the tutorial series! I have just got back into unreal after 2 years to try and make a game inspired by rainbow 6 siege and ive forgotten almost everything, i am only up to this video so far but you are very easy to follow and explain things well compared to others i have watched in the past.
@RobertBojor
@RobertBojor 6 месяцев назад
Awesome series!!! Just a quick note for those that want to use the Thread Safe anim bp way... You don't need the interface for the player, just create a "pure" function in the character BP that has the output pin name "ReturnValue" and you can easily call it from the thread-safe anim bp functions. Also make sure the "Is Not Valid" execution pin returns as well after the log print.
@SaucyCross
@SaucyCross 4 месяца назад
love your videos brother !!! I will also be buying ur game looks amazing
@Sleidde
@Sleidde 10 месяцев назад
Even though I'm Brazilian your tutorials are helping me a lot thanks
@tacticalmythic7945
@tacticalmythic7945 10 месяцев назад
great video!
@vladlevcg
@vladlevcg 4 месяца назад
Bro this aim rotation is exactly what I was looking for! Thanks a lot! How did you came to this decision?
@DILEEX
@DILEEX 4 месяца назад
Hi I need help, when I preview the scene the message "weapon class is not valid" appear. Then this error this error appears in the Message Log: Blueprint Runtime Error: "Accessed None trying to read property BP_Weapon_Base". Node: Branch Graph: IsValid Function: IF Get Left Hand Socket Transform Blueprint: BP_ThirdPersonCharacter. How can I fix that ?
@Shixay
@Shixay 4 месяца назад
yea i'm having exacly the same problem.
@indy2l
@indy2l Месяц назад
Did anyone find the solution?
@faded87
@faded87 22 дня назад
@@indy2lI think he fixed it in a later video or the next
@indy2l
@indy2l 22 дня назад
@@faded87 Yeah he did, I forgot to edit this comment
@voidcompiler3799
@voidcompiler3799 11 месяцев назад
Using Character variable in Animation Blueprint event graph is also casting. I suggest to use "Try Get Pawn Owner".
@anonymouscity13
@anonymouscity13 5 месяцев назад
you the best my friend ;)
@balamutqq
@balamutqq Месяц назад
thanks dude
@Albert-Freeman
@Albert-Freeman 3 месяца назад
Thanks :)
@itsdonix
@itsdonix 5 месяцев назад
Note: an important thing is always pressing the compile before you save
@Daniel537Daniel
@Daniel537Daniel 10 месяцев назад
pls continue!
@voidcompiler3799
@voidcompiler3799 10 месяцев назад
Part 3 and 4 are out!
@voidcompiler3799
@voidcompiler3799 11 месяцев назад
You can adjust LHIK socket location while playing in editor.
@Szefittooo
@Szefittooo Месяц назад
Yo, i did step by step and i'm having error log that i created by your tut. "weapon class is not valid", i cant find the solution, and ideas?
@Restart-Gaming
@Restart-Gaming 2 месяца назад
My question is when will your game come out looking forward in streaming it?
@maxdemax2655
@maxdemax2655 8 месяцев назад
LeftHandSocketTransform doesnt do anything for my hand, but it does work for shoulder/arm
@astralstormgamestudios1259
@astralstormgamestudios1259 6 месяцев назад
Pitäis kirjoita englannin siis olen oikeesti ruotsin kielinen mutta, how did you get the upper body blend space to react when jumping with weapon? I have the transform bone and layer blend but when I jump he doesn't do anything with the upper body.. he just plays the walk/run animation.. It would be cool to make him move with the hands when jumping/landing.
@PitchforkGames
@PitchforkGames 6 месяцев назад
Amazing work on this tutorial series! This works perfectly as expected on Manny, but when I apply the exact same process to a metahuman, the left hand IK doesn't follow the weapon when it moves and rotates from hand sway and recoil. The hand rotates, but the IK doesn't move with the weapon, which is weird because it moves when I adjust the LHIK socket location. Please help!
@ugurkamilboz8778
@ugurkamilboz8778 4 месяца назад
Did you solve this problem? I have the same problem...
@itsdonix
@itsdonix 5 месяцев назад
i have a custom model, and for some reason the hand has some wierd offset any idea why?
@iGunSlingeRv2
@iGunSlingeRv2 8 месяцев назад
When you set up the WeaponSocket, you then go to the character blueprint to add the weapon and then rotate the weapon there. Is there a difference if you were to rotate and position the WeaponSocket instead? Or is there a reason for this set up? Either seems correct to me but asking in case there is something I dont know lol
@voidcompiler3799
@voidcompiler3799 8 месяцев назад
Its better to rotate socket only. But both works.
@bengames1565
@bengames1565 7 месяцев назад
Great video and it works well, Is there a way to multicast this to both a server and client? and if so how?
@voidcompiler3799
@voidcompiler3799 7 месяцев назад
Thank you and I show in videos that! 7# is about replicating more.
@vitlaska
@vitlaska 8 месяцев назад
Hey! Thank you so much for this series of tutorials, this is kino stuff! I have a question: I keep getting an error due to the "Valid" function inside that GetLeftHandedSocket, my best guess its because it doesn't get assigned a value for "transform" to return to in the case it is "not valid", yet I don't know how to solve it, due to me being shit in blueprints. This is the message: "PIE: Error: Blueprint Runtime Error: "Accessed None trying to read property BP_WeaponBase". Node: Branch Graph: IsValid Function: IF Get Left Handed Socket Transform Blueprint: BP_ThirdPersonCharacter" edit: I'm using 5.31 if by some weird functionality mix-up that was the problem, crossing my fingers its not
@vitlaska
@vitlaska 8 месяцев назад
I think I fixed it? But I don't know if it was the correct way of doing it... The "Input Object" node of the "IS VALID" function wasn't getting anything trying to read the Weapons Base through its child component (don't know why), so I went and plugged it to the [Is Valid] function without the (target -----> child actor) node.
@voidcompiler3799
@voidcompiler3799 8 месяцев назад
Good you found it! I show how to do it in 3# video I think.
@toggleGDC
@toggleGDC Месяц назад
@@vitlaska i did that and it still tells me that the weapon is invalid could you explain in deeper detail please
@indy2l
@indy2l Месяц назад
@@toggleGDC Hey I don't know if you still need help but watch the part 3, he fixes the bug in the beginning. Good luck!
@blobsome9918
@blobsome9918 13 дней назад
for some reason it doesnt use the socket but it uses the hand_l even though its assinged to the socket
@mirkomirko5465
@mirkomirko5465 4 месяца назад
hey man good tutorial but can add the subtitles for better understanding what say
@voidcompiler3799
@voidcompiler3799 11 месяцев назад
Removing that jiggling movement while walking go to Animation Blueprint -> Animation Graph -> locomotion -> idle and walk/run states, Then find Layered Blend Bone nodes and set "Mesh Space Rotation Blend" = True.
@mahamad9019
@mahamad9019 6 месяцев назад
still diden't work pls help
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
@@mahamad9019 did you do that in first video 7:50 ->
@mahamad9019
@mahamad9019 6 месяцев назад
i find thank you bro@@voidcompiler3799
@MrPyCCkuu1
@MrPyCCkuu1 6 месяцев назад
@@voidcompiler3799 Yep, it still doesn't work.
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
@MrPyCCkuu1 did you disable orient rotation in first video 7:50?
@obeysquirrel
@obeysquirrel 3 месяца назад
I have an issue at 10:08 My weapon doesn’t connect to the child actor it says something about it being not being compatible to the mesh. Help please
@lolaswift111
@lolaswift111 3 месяца назад
Very small font due to resolution. Could you please make the font bigger next time recording?
@KarnageVrp
@KarnageVrp 6 месяцев назад
Yo bro, i got a problem when i Look down my player and head is not going with the camera, Like my camera is leaving my body when i look down
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
You have done some mistake in aimrotation function in abt_ manny
@user-oz7bv5sq4h
@user-oz7bv5sq4h 5 месяцев назад
I have a question. Does LHIK only work for weapons where you hold with two hands? I'm following everthing exactly as in video (also redid everything from scratch twice) but won't work with Pistol. The Pistol is from the same pack and that's the ONLY deviation from tutorial. Any help?
@voidcompiler3799
@voidcompiler3799 5 месяцев назад
Should work exactly same with pistol. Do you have LHIK in pistol?
@dcad6934
@dcad6934 6 месяцев назад
Hey. The left hand IK works really well, but I have this issue when I use a different pose for putting down the weapon the left hand is no longer on the weapon but a little further down. Do you have an idea on how to fix that?
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
I dont completely understand. But in later tutorials I show how to drop weapon and change pose to hands only. That also disables left hand IK.
@dcad6934
@dcad6934 6 месяцев назад
@@voidcompiler3799 If the anim blueprint is playing a different pose from the aiming idle, the left hand is not on the gun. Also when using the sprint animation from the anim starter pack the left hand does not stay on the gun
@dcad6934
@dcad6934 6 месяцев назад
Also how did you get the M4 without the ironsights? @@voidcompiler3799
@brendandaly6204
@brendandaly6204 Месяц назад
i cant find the anim graph page ur on
@dontdoitanyway
@dontdoitanyway 4 месяца назад
I cant find "IF get (user interface)"
@Parker-gz2tp
@Parker-gz2tp 3 месяца назад
I can’t walk in the editor how to fix?
@ashwinj9879
@ashwinj9879 9 месяцев назад
almost 90% perfect ik
@byee_66
@byee_66 4 месяца назад
Everything seems to be working, but when I rotate the camera, my gun is buggy, and when I turn the camera up, the gun doesn't move with the camera and It stay in place, do you know how to fix it?
@voidcompiler3799
@voidcompiler3799 4 месяца назад
First video at 7:50 and up camera bug is in aimrotation function in apt_manny
@dogman_13
@dogman_13 10 месяцев назад
Greetings! I have few technical questions about IK in your video. Can I ask you in Discord?
@voidcompiler3799
@voidcompiler3799 10 месяцев назад
Of course!
@elganzandere
@elganzandere 6 месяцев назад
Where should i be modifying Location Values (Y plane) ? My Left Hand floating to the side
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
You can change LHIK location in any weapon model!
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
Of course you need to have made it
@renamamiya403
@renamamiya403 2 месяца назад
sorry to keep bothering u, but nothing happens when i click to try and change the parent socket (even after an hour). i would joind the discord but i cant rn.
@renamamiya403
@renamamiya403 2 месяца назад
nvm i fixed it. also thx for this series:)
@daviddelbo7678
@daviddelbo7678 7 месяцев назад
Hi, I need some help when I move the camera the hand does not move with it in left and right motions only up and down.
@voidcompiler3799
@voidcompiler3799 7 месяцев назад
Enable yaw in third person character! I do it in 1# video before importing animations
@gioelepiobbico5305
@gioelepiobbico5305 3 месяца назад
Have you solved it?
@meesheuij
@meesheuij 6 месяцев назад
it works but after running i get this message what do i need to do to fix this Blueprint Runtime Error: "Accessed None trying to read property Weapon_Base". Node: Branch Graph: IsValid Function: IF Get Lefthand Transform Blueprint: BP_ThirdPersonCharacter
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
Will be fixed in next part! 3#
@meesheuij
@meesheuij 6 месяцев назад
okay thank you !! @@voidcompiler3799
@adrenalingames4208
@adrenalingames4208 3 месяца назад
@@voidcompiler3799your fix in video 3 doesn't work! weapon not vaid again
@meespo3354
@meespo3354 6 месяцев назад
How would I do this if u want to make this with ur other hand as well?
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
What tou mean?
@baryafe
@baryafe 2 месяца назад
hello, after I did this part, my weapon is closer to the side of the screen., how can I move it a bit?
@voidcompiler3799
@voidcompiler3799 2 месяца назад
I will show in tutorials. I dont remember episode maybe 5
@baryafe
@baryafe 2 месяца назад
@@voidcompiler3799 and, why when i rotate my charcater in "play" and rotate the camera, i see inside the mesh?
@ERAK_Aenyegames
@ERAK_Aenyegames 6 месяцев назад
Hej in 10:56 u add skeletal mesh, why i cant find this node ?
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
Do you have gun mesh in your weapon base?
@ERAK_Aenyegames
@ERAK_Aenyegames 6 месяцев назад
yep,@@voidcompiler3799 i give it other name ^^ my bad
@aimnrtwastaken
@aimnrtwastaken 2 месяца назад
10:41 i cant get the skeletal mesh variable
@voidcompiler3799
@voidcompiler3799 2 месяца назад
Join discord I can help. Maybe you forgot add skeletal mesh?
@noahynacho824
@noahynacho824 5 месяцев назад
12:45
@user-cw8pb7do6l
@user-cw8pb7do6l 10 месяцев назад
what version of unrea lr u using plz and when next video
@voidcompiler3799
@voidcompiler3799 10 месяцев назад
I am using ue5.1
@voidcompiler3799
@voidcompiler3799 10 месяцев назад
I try to create today/tomorrow!
@voidcompiler3799
@voidcompiler3799 10 месяцев назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-24XbpTSzVJI.html
@elgatonet
@elgatonet 6 месяцев назад
active subtitle plis
@voidcompiler3799
@voidcompiler3799 6 месяцев назад
RU-vid created those only to newer videos
@n3cro_ftp
@n3cro_ftp 9 месяцев назад
my char is still kinda t posing after editing everything..
@voidcompiler3799
@voidcompiler3799 9 месяцев назад
Hard to say. You can join discord and send images and I can help. Have you set up Anim BP?
@n3cro_ftp
@n3cro_ftp 9 месяцев назад
@@voidcompiler3799 yes everything
@voidcompiler3799
@voidcompiler3799 9 месяцев назад
@@n3cro_ftp you can send me image of your animBP and tell you how fix. Discord link in description!
@E.H.N
@E.H.N 8 месяцев назад
My casting keeps failing
@voidcompiler3799
@voidcompiler3799 8 месяцев назад
Hard to say why
@voidcompiler3799
@voidcompiler3799 8 месяцев назад
Which casting?
@E.H.N
@E.H.N 8 месяцев назад
@@voidcompiler3799 In the Left Hand Socket transform interface - 10:30
@voidcompiler3799
@voidcompiler3799 8 месяцев назад
Do you have BP WEaponBase -> Child Actor -> Cast to weaponBase? And you have that child actor set in thirdPersonCharacter so you can see gun? @@E.H.N
@E.H.N
@E.H.N 8 месяцев назад
@@voidcompiler3799 I do yes, I even deleted the interface and started again.
@anonymouscity13
@anonymouscity13 5 месяцев назад
please your videos dont have legends please take for more people
@voidcompiler3799
@voidcompiler3799 5 месяцев назад
Dont have legends? I dont understand
@anonymouscity13
@anonymouscity13 5 месяцев назад
@@voidcompiler3799 many videos tutorials have legends to many linguage wen tou talk. I think is the plantform youtube have this. Try see in your settings your youtube videos dont come with legends of linguages
@anonymouscity13
@anonymouscity13 5 месяцев назад
@@voidcompiler3799 and i love your work i learn mutch with you. Congrat... 😎💙
@skysoftware4581
@skysoftware4581 8 месяцев назад
I cant understand your English sorry 😢
@voidcompiler3799
@voidcompiler3799 8 месяцев назад
😫
@thomasbandeira6579
@thomasbandeira6579 8 месяцев назад
your english is good, keep up the good work bro, love the videos@@voidcompiler3799
Далее
How the hell is this done#joker #shorts
00:14
Просмотров 1,4 млн
How the hell is this done#joker #shorts
00:14
Просмотров 1,4 млн