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"

Changing SkeletalMesh and AnimInstance at Runtime with Blueprints

Hi everyone, Im trying to figure out how to change the SkeletalMesh and AnimIntance of my main character with blueprints because im handling my project just with blueprints. I've seen a couple of posts related but all of them dealing code or are not well answered. Im gonna attach what im tryint for now, basicly im just changing the SkeletalMesh and AnimInstance getting random one of an array. Im trying to call the function on the character constructor or at the begin play event. The results are discouraging, all characters appear with the default pose that results when the character is not getting animations correctly.alt text

Product Version: Not Selected
Tags:
captura.jpg (87.4 kB)
more ▼

asked Sep 18 '14 at 10:54 AM in Using UE4

avatar image

Davixe
184 18 21 34

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

1 answer: sort voted first

Uhm it works like expected. In my Case I added FPS / TPS with their respective Anim Instance Class (Nothing assigned by default). Works in Construction script and Begin Play (Dont mind the 90 rotation thats the Model itself rotated incorectly by default)

https://gyazo.com/c48a5fa9d454f741ffeb7277f00fec79

Did you by any Chance missmatch a Mesh with a Incompatible Anim Instance (FPS Mesh with TPS AnimBP as Example)? What does your Output log say? Should be planty of Warnings in there if you mess something up.

more ▼

answered May 22 '17 at 01:20 AM

avatar image

Nachtmahr
7k 143 28 172

(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