Notifications
Clear all

Classic Framework - Weapon Attachment Offset on UE5 Character

2 Posts
2 Users
0 Reactions
19 Views
80858cbd0ef9a186c596ebce5d54bbdb
(@g-meadefx)
Active Member
Joined: 2 weeks ago
Posts: 4
Topic starter   [#84]

I’ve assigned new skeletons and I still get this odd glitch can you please explain what I’m doing wrong thanks 🙁


This topic was modified 3 days ago 2 times by Hosna

   
Quote
Hosna
(@hosna)
DEVELOPER Admin
Joined: 6 months ago
Posts: 353
 

Posted by: @g-meadefx

I’ve assigned new skeletons and I still get this odd glitch can you please explain what I’m doing wrong thanks 🙁

It looks like your character has a weapon offset in the hand. To fix this, you need to copy the sockets from the UE4 Skeleton to the UE5 Skeleton.

Then, inside the AttachWeaponToPlayerHand function, cast to your UE5 Character, get its mesh, and pass that mesh into the AttachActorToComponent node.

We've previously explained this same approach for MetaHuman characters that had a weapon offset issue, and you can use the same workflow for UE5. The only difference is that, instead of adding the sockets to the MetaHuman skeleton, you should add them to the UE5 Skeleton. Make sure that when you add the weapon sockets to the UE5 skeleton, you position them precisely so they don't have any offset

Also, in Image 4L, cast to your UE5 Character instead of the MetaHuman character. In Image 1L, apply the setup to your own character rather than the MetaHuman character. .

Give that a try, and if you run into any issues, I'd be happy to help you further 😊 

 


This post was modified 3 days ago 3 times by Hosna

   
ReplyQuote
Share: