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 do i disable animation optimizations on player blueprint?

Hello, i implemented the functionality of this question but i started noticing that when the player is not visible on the main camera the animations stop being played as an optimization, because theorically it's not being seen by the camera, but since i have that follow camera this is not what i what. How do i disable that optimization so that it will always play the animations even if the player is not visible on camera?

Product Version: Not Selected
Tags:
more ▼

asked Jun 12 '14 at 08:50 PM in Blueprint Scripting

avatar image

xlar8or
6k 159 127 303

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You probably have the mesh of your character set to:

 Mesh->MeshComponentUpdateFlag = EMeshComponentUpdateFlag::AlwaysTickPose;

(This is the default for a Character). This means that while the mesh is still ticked, the bones are however not evaluated while not rendered. You want to set it to this instead:

 AlwaysTickPoseAndRefreshBones

This will always tick and refresh bone transforms.

-Laurent

more ▼

answered Jun 12 '14 at 09:14 PM

avatar image

Laurent Delayen STAFF
106 2 2 7

avatar image xlar8or Jun 12 '14 at 09:43 PM

Thank you for your answer, can i set that flag on the editor or through blueprints? Or it is only available through c++?

avatar image Laurent Delayen STAFF Jun 12 '14 at 09:46 PM

It's an enum on the mesh component of your character. You can set that in the default properties of your actor, through blueprint code, or C++.

In the editor you can go to the default properties of your Character blueprint, and find the following property:

     UPROPERTY(EditAnywhere, AdvancedDisplay, BlueprintReadWrite, Category=SkeletalMesh)
     TEnumAsByte<EMeshComponentUpdateFlag::Type> MeshComponentUpdateFlag;
avatar image xlar8or Jun 12 '14 at 09:48 PM

I will try it when i can and i will let you know. Thnks :-)

avatar image xlar8or Jun 13 '14 at 09:33 AM

From the experiment that i did it looks like it is working, thank you :)

(comments are locked)
10|2000 characters needed characters left
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