Game Development Community

Sequence control

by Sebastian Wollner · in Torque Game Engine · 01/04/2010 (12:27 pm) · 2 replies

Hello,
I have been working a few days with the Torque 3d Demo!

I ask myself the whole time as I can control the animations?
In what part of the script can I found, that if I hit the "W"-button and the "Run" animation is running?
Can you help me there?

About the author

Recent Threads

  • integrate Shader

  • #1
    01/04/2010 (4:43 pm)
    It might be a good idea to post in the T3D forum for questions relating to that engine, but no matter. Those animations are not controlled by script, the work is done in the engine code. In scripts, you can define which animation to play, but the code handles things like actually advancing the animation, and choosing which of the animations you've defined to play.
    #2
    01/04/2010 (5:29 pm)
    First thanks for the answer
    But I want to know exactly what you have said circuit,
    so where exactly is the pressure at which keys, the animation is played

    For example:
    when I press the "W"-button, the "run" animation is played

    "W" - button is in default.bind.cs defined (moveMap.bind (keyboard, w, moveforward);)
    but where is it written that the "run" animation is playing (in what .cs file)?