Camera doesn't stop going down with Lerp(on timeline)

Hello,
I’m trying to make custom smooth crouch for my character, but when using timeline with lerp (as seen on screenshot) camera doesn’t stop going down when it should and I end up looking at bottom of the map. The same blueprint works if I ignore lerp transition and just change camera relative location, but it’s too sudden for m project.

Hi Nevermore,

The issue you are seeing is caused by the Set Relative Location, running two timelines, and the values you are inputting for Z. Here is the crouching solution I use in my own projects, give it a try.

Create and set a variable to store the relative location of the camera at start. Do this in the Construction Script or the Event Graph using a EventBeginPlay node.

13349-ahub_bpcrouch01.jpg

Then set this up in the Event Graph and reverse the Timeline on Release.

I hope that helps and if you have any questions feel free to post them here.

Thanks, TJ

How is your CrouchTimeline_01 Crouch Float Track set up?

1 Like

The world may never know…

1 Like