Animation question
by Eric Dunn · in Torque Game Engine · 12/08/2003 (11:12 am) · 0 replies
I currently have bots running around my world, but I want to have them walking, and running. I notice in the engine in player.cc inside PlayerData::ActionAnimationList, there are move states based on velocity. My question is, how would i implement a walk animation into this? I just cant figure out how this works, i added:
{ "walk", { 0, 0.1, 0 } }, // WalkForwardAnim
I have a walk animation named player_walk that i added into player.cs script. Im just not sure how Torque handles these transitions or how hard it would be to get a walk into my game. Any insight would be appreciated.
{ "walk", { 0, 0.1, 0 } }, // WalkForwardAnim
I have a walk animation named player_walk that i added into player.cs script. Im just not sure how Torque handles these transitions or how hard it would be to get a walk into my game. Any insight would be appreciated.
About the author