It worked before and stopped doing so after I implemented an ability screen. But even if I unplug all Nodes I created in this process it still won’t work.
The ability Screen:
It worked before and stopped doing so after I implemented an ability screen. But even if I unplug all Nodes I created in this process it still won’t work.
The ability Screen:
Hey there @Tropsele! Since the preview animation is working fine it’s likely not the socket, but could be the gun actor itself being rotationally locked one way or another. Since your abilities script doesn’t seem to interact with anything that should cause this normally, the problem may lie in the gun’s logic. Could we see where it’s attached, the clip mechanism, and the animation calls?
Somehow the Pistol Mesh was no longer parented to the character mesh. And UE5 allows only parented Objects using sockets, therefore the pistol was no longer bound to the socket.
Fix was just to drag the pistol mesh onto the character mesh in the first person character and resetting the pistols position.