Game Development Community

1.7.1 player animation problem

by SpaceIllusion, Inc. · in Torque Game Engine Advanced · 08/21/2009 (2:55 am) · 1 replies



%obj.playThread(0, "AAAA");
%obj.pauseThread(0); or %obj.stopThread(0);
%obj.playThread(0, "AAAA");

it works very well.
But,

%obj.playThread(0, "AAAA"); <= No problem.
%obj.pauseThread(0); or %obj.stopThread(0); <= No problem.
%obj.playThread(0, "BBBB"); <= it doesn't work.


I want

play "AAAA" => pause "AAAA" => play "BBBB"(not working. re-play "AAAA" no problem) => when finished "BBBB", re-play "AAAA"

---------------------------------------------------------------------------------------

after pause some animation, re-play other animation is not working.

What problem?




#1
08/21/2009 (9:50 am)
Playthread does not support a transition to another sequence.
If you are using it on a player,you should use setActionThread()
If it is some sort of item/staticshape,there is a resource how to add the shapebase transition.