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"

Why is Get Velocity and Get Control Rotation returning None?

I'm trying to set up animation for a pawn by using a blendspace, but the problem is that the Get Velocity and Get Control Rotation is returning None. The Try Get Pawn Owner returns the name of the pawn, so that's working at least. What am I missing? Any help would be most appreciated!alt text

Product Version: UE 4.15
Tags:
animblueprint.jpg (129.1 kB)
more ▼

asked Jun 12 '17 at 04:31 AM in Blueprint Scripting

avatar image

OrbitHammer
3 1 2 5

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

3 answers: sort voted first

Hello OrbitHammer,

Because you need cast to character. As follows.

alt text

cast.png (93.4 kB)
more ▼

answered Jun 12 '17 at 07:30 AM

avatar image

Sertac Ogan
1.5k 30 11 46

avatar image OrbitHammer Jun 12 '17 at 09:23 AM

So I added a cast to the pawn and I still get None.

avatar image Sertac Ogan Jun 12 '17 at 09:24 AM

Can you share screenshot?

avatar image OrbitHammer Jun 12 '17 at 09:29 AM

Here it is:alt text

animblueprint01.jpg (164.4 kB)
avatar image Sertac Ogan Jun 12 '17 at 09:31 AM

If this is the pawn you are using, it needs to work.

avatar image navid100 Jun 12 '17 at 09:55 AM

try 'get player pawn' node instead of 'try get pawn owner' then check and see if it works.

avatar image Sertac Ogan Jun 12 '17 at 09:59 AM

But would not it be wrong? Cuz get player pawn only return main pawn. For enemy or ai is return wrong reference.

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

Make sure you'w selected the correct animation bp to use in your actor bp, after that your setup should work.

more ▼

answered Jun 12 '17 at 10:35 AM

avatar image

Kipplinger
376 12 5 17

(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