Improving physics and code

This commit is contained in:
CroakFang
2023-12-11 21:36:43 +08:00
parent 2acf15cb43
commit ac63cfe83e
7 changed files with 33 additions and 51 deletions
@@ -973,7 +973,8 @@ namespace Gallop
MangaMorph.BindProperties[1].Value = 1;
}
var tearytype = info.tearyType;
var tearyEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrTeary) > 0;
var tearytype = tearyEnable ? info.tearyType : 0;
StaticTearMorph.BindProperties.ForEach(p => p.Value = tearytype);
var shaderEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrFaceShadowVisible) > 0;