mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 20:05:33 +00:00
prototyping:playerbot look fix
need to pad the look animation out beyond 1 frame it gets confused trying to lerp along the timeline otherwise
This commit is contained in:
parent
70081f01b9
commit
d826398f2d
2 changed files with 205 additions and 211 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue