Temporarily locking camera to hand then snapping back

Hi there,

I’m currently working on an inventory system whereby the player will look at their hand (holding down button ‘F’) and then be able to select from a quick menu with their mouse..

The problem I’m having is the camera doesn’t snap back to it’s original position after I release the button so I’m wondering if there would be a way to achieve this?

I’m also using the same button as a trigger to play the anim montage of the hand lifting so I’m not sure if this is the best way to do this as ideally I want the animation to end at the exact same time the button is released also…
Here’s a work in progress where you can see after releasing the button the camera and hand stay in position:

This is the current setup in my blueprint:

Hopefully that makes sense and any help or suggestions of how it could be made better would be greatly appreciated, thank you

1 Like

It would be good to record the cam position before doing this, afterwards you can interp it back again ( using tick ).

Thanks for your response! Would you mind describing what you mean by recording the cam position?
Could there be a way to have a slight delay so that when I press the button to begin looking at hand, it captures the current position/direction of the First person camera (So that it can then snap back to this after it’s done)

Thanks again

1 Like

That’s exactly what I mean. When you press the button, put the current cam transform in a variable, so you can reset it later :slight_smile: