x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

HOW do I slow my aiming?

Hey mates. I'm kind of frustrated because I have NO IDEA how I can slow my aiming down sights camera boom zoom? When I zoom in, it's very fast and choppy. I need to know how to slow this down. I have been told 'use timelines' or to 'use lerps', but I have NO IDEA, as said before, how to do this.

My blueprints are attached below. If you're going to tell me what to do, please be elaborate, and PLEASE, POST PICTURES.

Thank you, I love you all. You all deserve ice cream. :)

Joel.

Product Version: UE 4.9
Tags:
more ▼

asked Dec 14 '15 at 08:30 PM in Blueprint Scripting

avatar image

IceCubeCat
36 6 9 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello IceCubeCat,

It sounds like you are most of the way there. I have provided an example below on how you can use a timeline to lerp between two values. I hope that this information helps.

Example:

You will want to create a timeline by right clicking the event graph and searching for timeline. Once you have the timeline you can double click it to open it and it will look like the picture below. From there you will want to make a new float track. In my example I have timeline going from 0 to 1 over 3 seconds. The reason I am using 0 to 1 is because a lerp node typically uses values between 0 and 1 (thinking of it as 0% to 100%).

alt text

Here I have created a blueprint that uses the timeline that we made above. When ever the 'F' key is pressed it starts or reverses the timeline (going from 0 to 1 or 1 to 0 respectively ). From here I clamp the output of the float track between 0 and 1 to help eliminate float point errors. If you look closely at the two values that I am lerping between you will see the values that were given in your example screen shot. This means that when the 'F' key is pressed the Target Aim Length will go from 60 to 100 and then 100 to 60 when the key is pressed a second time.

alt text

Make it a great day

more ▼

answered Dec 14 '15 at 09:23 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

avatar image IceCubeCat Dec 15 '15 at 06:12 AM

I LOVE you. I have a few more (smaller, don't worry!) questions on the method, but it works in general.

Thanks mate. You deserve ice cream.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question