Jump to content

Search the Community

Showing results for tags 'Character'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to UNIGINE Forums
    • News & Announcements
    • Getting started
  • Development
    • Content Creation
    • World Design
    • Rendering
    • Animation
    • Physics, Navigation and Path Finding
    • UI Systems
    • Sound & Video
    • Editor
    • C++ Programming
    • C# Programming
    • Networking
    • Sim IG (Image Generator)
    • VR Discussions
    • General
  • Improving UNIGINE
    • Documentation
    • Feeback for UNIGINE team
    • Bug Reports
    • Unigine SDK Beta feedback
  • Community
    • Collaboration
    • Tools, Plugins, Materials & Tutorials
    • Showcase
    • General Discussions
  • Legacy
    • UnigineScript

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

Found 3 results

  1. Character animation Editor

    Здравствуйте. Я не смог найти в Unigine дерево смешиваний анимаций для персонажей. Смотрел уроки, читал документацию, нигде об этом не написано. Меня интересует персонажная анимация. Подскажите, есть ли данная функция в Unigine editor ?
  2. [SOLVED] Loading and Playing Animations

    Hi guys, I was looking into "character system" for how to load animations and play them. I came across some code which actually confused me. This is from actor.h from one of the samples : string animations[] = ( STATE_WALK_IDLE : "idle.sanim", STATE_WALK_JUMP : "jump.sanim", STATE_WALK_FORWARD : "walk_fwd.sanim", STATE_WALK_BACKWARD : "walk_bwd.sanim", STATE_WALK_MOVE_LEFT : "walk_lt.sanim", STATE_WALK_MOVE_RIGHT : "walk_rt.sanim", STATE_WALK_TURN_LEFT : "walk_lt.sanim", STATE_WALK_TURN_RIGHT : "walk_rt.sanim", STATE_RUN_FORWARD : "run_fwd.sanim", STATE_RUN_BACKWARD : "walk_bwd.sanim", STATE_RUN_MOVE_LEFT : "run_lt.sanim", STATE_RUN_MOVE_RIGHT : "run_rt.sanim", ); PlayerActorSkinned(PlayerActor a) { actor = a; mesh = add_editor(new ObjectMeshSkinned("samples/players/meshes/actor_00.smesh")); for(int i = 0; i < mesh.getNumSurfaces(); i++) { mesh.setMaterial(get_material(i),i); mesh.setProperty("surface_base","*"); mesh.setCollision(0,i); } mesh.setNumLayers(7); foreach(string animation; animations) { animation = "samples/players/meshes/actor_00/" + animation; mesh.setAnimation(animation); } } void set_layer(int layer,float weight) { mesh.setLayer(layer); mesh.setWeight(weight); } void set_frame(int state,float time) { if(mesh.getWeight() > EPSILON) { mesh.setAnimation(animations[state]); mesh.setFrame(time * fps[state]); } } My confusion : -Why setAnimation function take different arguments once with path and once without path. -Will it always load animation from external file, that's what description of the function says. Isn't it slow bcoz second setAnimation is being called from "::update" ? And one more thing can we TWO set animations in one LAYER so blend them or each animation must be in separate layer ? BTW, character system is really helpful. Thanks Thanks
  3. Hi, I want display unicode characters in WidthgetLabel. because i will service to asia. but i failed to display font. i attached error files.
  • Create New...