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"

Calculate Direction Node Problem

Calculate direction node gives an output of 90 even when the player is standing still. I'm using this output for a blendspace. It should give an output of zero when the character isn't moving. How can I fix this?

This is my graph alt text

Thank You.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 08 '15 at 12:45 PM in Blueprint Scripting

avatar image

Amaresh
158 22 30 37

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

1 answer: sort voted first

The value when the player isn't moving is irrelevant, since you won't use the blendspace until the character starts moving. As long as it gives the correct angle when you're moving the idle value can be anything.

more ▼

answered Jul 25 '15 at 11:46 PM

avatar image

MuchToLearn
93 3 2 10

avatar image Amaresh Jul 26 '15 at 12:04 AM

Yeah, I figured that much after posting this question here... Sorry I forgot to update this thread... But thanks anyways for the answer. Cheers.

avatar image minnow May 20 '17 at 06:20 AM

I had same problem... DId you solve this?... If you fix it, can you give me hint?...

avatar image Cut_JT Jun 16 '17 at 02:34 PM

I'm having a problem with my direction being 90. The value when the player isn't moving is important...it can be used to drive cover animations for instance i.e. which way should pawn be looking while stationary, over left or right shoulder? etc...If anyone can help or point in the right direction that would be great.

avatar image Cut_JT Jun 16 '17 at 03:16 PM

I got around my issue by simply passing the move right axis value where the direction won't suffice

(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