[javascript] Character Animations

Viewer

copyrawdownloadembedprintName: Character Animations
  1. // character_animations.zonescript
  2. // Created on: 23-Feb-2019
  3. // Last modified on: 09-Jul-2019
  4.  
  5. import includes.animations.character;
  6.  
  7. //--------------------------------------------------------------------------
  8.  
  9. function process(name)
  10. {
  11.         processCharacterAnimations("characters/Test" + name + "/texture", "characters/Test" + name + "/char", name);
  12.         createCharacterControl("characters/Test" + name + "/char_animations", "characters/Test" + name + "/animation_comp", name);
  13.         createCharacterMotionControl("characters/Test" + name + "/char_animations", "characters/Test" + name + "/motion_control", name);     
  14. }
  15.  
  16. //--------------------------------------------------------------------------
  17.  
  18. // process("Sasha");
  19. // process("Eva");
  20. // process("Vincent");
  21.  
  22. process("Claudia");
  23. process("Eric");
  24.  
  25. //--------------------------------------------------------------------------

Editor

You can edit this paste and save as new: