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"

[Bug] Hiding bones prevents animations from working

It seems that hiding bones via Mesh->HideBone() prevents any animation blueprint from working. The mesh just stays on the reference pose.

To try it yourself, open the ShooterGame sample and add the following to the end of the AShooterCharacter::UpdatePawnMeshes() function: Mesh->HideBoneByName(TEXT("b_head"),PBO_None);. Play the game and behold the headless characters on the ref pose.

By the way, using PBO_Term instead of PBO_None causes a crash.

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 01:49 AM in Bug Reports

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

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

3 answers: sort voted first

Hi Jefferson,

This is a bug, and I have reproduced it in Rocket Beta 6. But the good news is that it has already been fixed in our internal build. You can expect that the animations will still play in future Rocket releases.

As for the PBO_Term crash, I have also reproduced and made a report for that.

Cheers

more ▼

answered Mar 11 '14 at 01:49 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

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

Mesh Component Update Flag

In the blueprint of your character / owner of skeletal mesh

set this:

it's under advanced properties so click on the eye and check off show all advanced properties

AlwaysTickPoseAndRefreshBones

instead of

AlwaysTickPose

alt text

C++

The equivalent in c++ is

 Mesh->MeshComponentUpdateFlag = EMeshComponentUpdateFlag::AlwaysTickPoseAndRefreshBones;


My Video Example

I had to use this setting in my video to get the vertices to update for the Rainbow Particle Creatures, whose entire mesh's were set to invisible

http://www.youtube.com/watch?v=V7BqwYKU-H0

Enjoy

if this answers your question please mark this answer :)

more ▼

answered Mar 11 '14 at 01:49 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 01:49 AM

Thanks for the answer, but that didn't solve it. I added that code to both the constructor and the function UpdatePawnMeshes().

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

Not exactly a solution, but a workaround was to set the bone scale to zero (in the anim blueprint), instead of hiding it.

more ▼

answered Mar 11 '14 at 01:49 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 01:49 AM

hmmm, well let's see what Epic has to say about this! Great research on your part!

(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