Game Development Community

Key mapping reference to animation

by Lathieeshe Thillainathan · in Technical Issues · 04/30/2008 (2:04 pm) · 1 replies

How does torque reference the key maps to the animation?

sequence1 = "./player_forward.dsq run"

this is a sequence that's exported out, which is run. how does this map to

moveMap.bind( keyboard, a, moveleft );

i can't seem to find, where moveleft is referencing the 'run' animation. any ideas?

#1
05/01/2008 (5:59 am)
The animation is chosen inside the engine code. The moveleft message is tied to engine variables that determine when to play run, side, back. You'll need to dig into the SDK to get more information.