I basically have a character that is set with tank controls with a camera that rotates around it. I have crosshair set to the middle of the screen. I have animated skeleton (one of my own) which has a socket for a weapon. This weapon socket has its own bone in the skeleton (socket attached to that bone). In that socket is a weapon which has its own socket for muzzle to spam ammo out of. The muzzle is in different position compared to the weapon socket. To get the aim correct I need to use the muzzle socket and not the weapon socket becasue of this offset.
I am using combination of character bp and animation bp to rotate the bone.
I’m trying to get the weapon bone to point (rotation) towards the cross hair. I have linetrace for this and it works. But I want to add rinterp (or other way of interpolating, something I can control accurately, not fps dependant) so it doesn’t snap the weapon to aim instantly towards whatever I aim with my crosshair. But I can’t get the rinterp to work at all. Either I get no rotation at all or the weapon rotates like helicopter or just points at random direction.
Here is my Tick node setup for the interp. The image shows it how it works now without rinterp:
Imgur: The magic of the Internet and
Imgur: The magic of the Internet
And here is the anim bp:
Imgur: The magic of the Internet and
Imgur: The magic of the Internet
Basically I need to get rotator for my muzzle socket so I can use it as Current for the rinterp. But whatever I try it doesn’t work. How to get that rotator?