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"

关于虚幻动画在游戏中不播放的问题

alt text 请问虚幻对动画是不是存在某种优化,在这个测试中我放置了一个永远攻击敌人的AI在墙后(那个AI假如用动画攻击到对方则会显示击中),然后让角色开始远离那个AI,当远离到一定程度之后击中提示就消失了,然而我用线框模式查看时,击中提示又开始出现。

Product Version: UE 4.13
Tags:
gif.gif (2.2 MB)
more ▼

asked Sep 01 '16 at 03:01 PM in Chinese

avatar image

伊拉龙
7 4 4 7

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

1 answer: sort voted first

这个是单机情况下,已经和网络没有关系了吧,其实和你之前的问题是不同的,你之前的错误是这两者结合的错误。 这个有可能是远了以后,lod后的bounds被完整的culling掉,并且你角色的skeletalmeshcomponent的MeshComponentUpdateFlag也许是默认的设置:AlwaysTickPose。这种情况下,只TickPose不重新evaluate bone,等于不计算动画blend。改成AlwaysTickPoseAndRefreshBones就行了。这其实是一个在动画不影响gameplay的情况下的优化选项,更优化的是OnlyTickPoseWhenRendered。但是对于gameplay计算都依赖于动画位置的情况下,你必须在任何时候都tickpose和bone。当然这个可以不用在客户端执行,只在ds上做就行了,客户端还是可以保留优化的。

more ▼

answered Sep 01 '16 at 03:55 PM

avatar image

Mi.Wang STAFF
150 12 4 5

avatar image 伊拉龙 Sep 02 '16 at 02:05 AM

非常感谢,将MeshComponentUpdateFlag修改成AlwaysTickPoseAndRefreshBones就将问题解决了。

(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