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
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.
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.
#Mesh Component Update Flag
In the blueprint of your character / owner of skeletal mesh
it’s under advanced properties so click on the eye and check off show all advanced properties
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
if this answers your question please mark this answer
Thanks for the answer, but that didn’t solve it. I added that code to both the constructor and the function
Not exactly a solution, but a workaround was to set the bone scale to zero (in the anim blueprint), instead of hiding it.
hmmm, well let’s see what Epic has to say about this! Great research on your part!