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"

Set Anim Instance Class not working ? ?

I'm trying to prototype a game where the player can shapeshift based on the absorbed powerup. How I do this is that when the player gets the coin, it changes the players mesh and anim instance; however, it only changes the mesh but the anim instance doesn't work.

The 2 characters have different skeleton and meshes.

alt text

The image above is the Coin blueprint. When the player overlaps with the coin, it disappears and only changes the mesh. Am I close to being correct with this blueprint or am I way too far away from achieving what I want?

Thanks in advance for anyone that helps :)

Product Version: UE 4.13
blueprint.jpg (168.2 kB)
more ▼

asked Oct 07 '16 at 05:20 AM in Blueprint Scripting

avatar image

28 4 8 10

avatar image Markus Maximus Jan 27 '18 at 02:08 PM

Is it too late to reply here? Anyway...sometimes a 'Set Animation Mode' node needs to be added before you use Set Anim Instance Class which actually tells the mesh to use an animation blueprint instead of a standard animation. That's if you have not set the defaults in your new mesh. However there is a pitfall to this. If you set the default anim instance on that mesh and then later use this node again, it will create a second anim instance at real time, which may or may not work.

You can try it out. If it works, great! If not, well you have to change the way anim instance class is assigned and instantiated in code. :/

avatar image 6r0m Jun 30 '18 at 12:27 PM

Does someone figured out this? I spawn actor with Animation Mode -Anim BP, but SetAnimInstanceClass not work(

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

0 answers: sort voted first
Be the first one to answer this question
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