[]模型不同实例,AnimationNode位置只有第一个会更新的问题

同一模型创建不同Sprite3D实例,Animation在更新的时候
this._curAvatarNodeDatas=clip._getAvatarDataWithCache(this._avatar,this._cachePlayRate,frameIndex);
if (!this._curAvatarNodeDatas){
this._curAvatarNodeDatas=[];
this._curAvatarNodeDatas.length=this._avatarNodes.length;
clip._cacheAvatarData(this._avatar,this._cachePlayRate,frameIndex,this._curAvatarNodeDatas);
this._evaluateAvatarNodesCacheMode(avatarOwners,clip,clip._publicClipDatas,this._curAvatarNodeDatas,clip._unCachePropertyMap);
}
这个if只有第一个创建的能进去,导致其他后创建的实例AnimationNode的信息不更新,可以通过把_evaluateAvatarNodesCacheMode拿到判断外面来解决么?
已邀请:

Aar0n

赞同来自:

这个能否提供一个demo 让我们看一下,现在不明确你是想要做什么,和问什么、。而且不知道你是怎么做的出的问题。

要回复问题请先

商务合作
商务合作