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"

FInterp/Vinterp not working properly?

I apologize if this is a beginner question, but I've been going at this for a while now and I can't seem to figure it out.

After getting some constant problems I eventually put together a simple script in the level blueprint that should print an interpolation of 1-10 with a speed of 1 (however I've tried everything from like 0.0001 to 10), and all it seems to do is jitter at around 1.12. I get the same problem with VInterp, however RInterp has worked fine for me multiple times.

Here's the script: alt text

And the result:

alt text

Any idea what I'm doing wrong/what's going on? Thanks to anyone that can help.

Product Version: Not Selected
more ▼

asked Mar 13 '15 at 05:06 AM in Blueprint Scripting

avatar image

15 1 2 5

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

1 answer: sort voted first

You should be storing the result of the FInterp To and then using that as the Current Value

Or you should be storing the current time, adding Delta Seconds to that time, and using that new value as Delta Time.

Right now you're repeating the same operation and you get varied results depending on how long that current frame took to render. If your input to Delta Time increases over time or your Current Value increases over time, you will see the result you are looking for.

more ▼

answered Mar 13 '15 at 06:35 AM

avatar image

3.1k 51 120 487

avatar image Devin.G Mar 13 '15 at 06:54 AM

AHHH Thank you. That makes complete sense, I really appreciate your help - I don't know why I didn't get that sooner. Everything works now, thanks to you.

(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