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"

Using the Random Float in Range function inside of an AnimBP state causes blueprint warning

I'm trying to use a random float in range to vary up my characters' animation slightly. I'm getting the following error:

 Warning Node  Blendspace Player 'BasicMinion_IdleWalkRun_BS'  uses potentially thread-unsafe call  Random Float in Range . Disable threaded update or use a thread-safe call. Function may need BlueprintThreadSafe metadata adding. 

I don't think I want to turn off thread stuff, so is there a work around to this? Or is it a bug?

alt text

Product Version: UE 4.15
Tags:
capture.png (152.5 kB)
more ▼

asked Apr 27 '17 at 11:33 PM in Blueprint Scripting

avatar image

borbs727
32 4 8 12

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

A possible workaround is to create a float variable in your Event Graph (let's call it RandomValue) and assign it the value of the Random Float in Range function in the Blueprint Update Animation Event. Then, instead of using the function directly in your Anim Graph, you use the RandomValue variable.

more ▼

answered May 23 '17 at 01:31 PM

avatar image

VitorCBSB
51 4 7

(comments are locked)
10|2000 characters needed characters left
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