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 can i use interface to communicate between pawnblueprint and animblueprint?

i have seen toturial about Animmontage,but i have not idea about how to get pawn's animblueprint in my characterblueprint.which node should i use?

Product Version: Not Selected
Tags:
more ▼

asked Apr 15 '14 at 02:52 PM in Blueprint Scripting

avatar image

Shasinim
21 4 4

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

1 answer: sort voted first

You don't need to. When you attach Animation Blueprint to Skeletal Mesh Component it will be accessible thru it's Animation Instance ("Get Anim Instance" node)

https://docs.unrealengine.com/latest/INT/API/Runtime/Engine/Components/USkeletalMeshComponent/GetAnimInstance/index.html

Keep in mins that Animatin Blueprint is a valid class and that class gonna be used in Animation Instance

more ▼

answered Apr 15 '14 at 03:56 PM

avatar image

Shadowriver
37.8k 937 172 1123

avatar image Shasinim Apr 16 '14 at 03:05 AM

thx for reply.i knew this node and have tried this,but it seems like not work.i will try it again.

avatar image Shadowriver Apr 16 '14 at 03:08 AM

Then i guess you didn't set the animation instance :p

avatar image Shasinim Apr 16 '14 at 12:26 PM

i used the node named "get anim instance".i saw it get animblueprint sucessfully,but the event in animblueprint happened nothing.did i miss something or use the interface in a wrong way.here is what i did

![alt text][1]

avatar image Shadowriver Apr 16 '14 at 12:46 PM

Why you sending varables thru some interface instead of directly change them in Anim Instance by casting Anim Instance to your class and then set there variables directly? Maybe show the animblueprint part

Also isnt your blueprint circut set Iattack pernamently?

avatar image Shasinim Apr 16 '14 at 01:15 PM

i just want to know how to use interface to communicate between pawnblueprint and animblueprint.just for study.i knew the way you said can make it work. alt text

avatar image Shadowriver Apr 16 '14 at 01:26 PM

facepalm Sry, you made me confused with the name of your blueprint ^^' there something called Animation Blueprint which allows to script mesh animations, thing is it does not use standard action, it more like animation pipelines and you just change variables to change direction of the flow. You might try go this direction if you want

Anyway you need instance of that animblueprint in you pawnblueprint in order to communicate with it in anyway. i thouth you using Animation Blueprint thats why i said to use "Get Anim Instance" to get it's instance

avatar image Shasinim Apr 16 '14 at 01:45 PM

i know what you mean.its just for test,so i connected nodes like this.i konw its wrong.

avatar image Shasinim Apr 16 '14 at 02:24 PM

thx for you reply

(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