瀏覽代碼

prototyping:playerbot look fix
need to pad the look animation out beyond 1 frame
it gets confused trying to lerp along the timeline otherwise

AzaezelX 3 年之前
父節點
當前提交
d826398f2d

文件差異過大導致無法顯示
+ 3 - 3
Templates/BaseGame/game/data/Prototyping/shapes/Player/Playerbot.dae


+ 2 - 3
Templates/BaseGame/game/data/Prototyping/shapes/Player/Playerbot.tscript

@@ -18,8 +18,7 @@ function Playerbotdae::onLoad(%this)
    %this.addSequence("ambient", "Back", "51", "70", "1", "0");
    %this.addSequence("ambient", "Side", "71", "90", "1", "0");
    %this.addSequence("ambient", "Crouch_Root", "91", "120", "1", "0");
-   %this.addSequence("ambient", "Look", "121", "122", "1", "0");
+   %this.addSequence("ambient", "Look", "121", "127", "1", "0");
+   %this.setSequenceBlend("Look", "1", "ambient", "0");
    %this.setSequenceCyclic("Look", "0");
-   %this.setSequenceBlend("Look", "0", "", "0");
-   %this.setSequenceBlend("Look", "1", "ambient", "121");
 }

部分文件因文件數量過多而無法顯示