How to move from "sitting" animation to "rootpose"?
by elvince · in Torque 3D Professional · 07/31/2010 (12:22 pm) · 3 replies
Hi,
I tried to understand the sequence animation in T3D and I'm a little bit lost:
I have a chair, when I mount the player on it I do %obj.setActionThread("sitting", true, true);
When I unmount, I do %obj.setActionThread("root", true, true);
The issue is, the player stick to the sitting pose until I move.
Can someone help me?
FYI, I'm on T3D B1 if it matters.
I tried to understand the sequence animation in T3D and I'm a little bit lost:
I have a chair, when I mount the player on it I do %obj.setActionThread("sitting", true, true);
When I unmount, I do %obj.setActionThread("root", true, true);
The issue is, the player stick to the sitting pose until I move.
Can someone help me?
FYI, I'm on T3D B1 if it matters.
About the author
Recent Threads
#2
thanks for your proposal that's not working in Multiplayer as moveforward is on client side and the unmount on the serverside.
More, I think it more like a hack to force the player to simulate a small move to get the right result.
I'm sure there should be something as in the shape editor I can move from Sitting to Root, I just need to understand how they are changing the sequence behind the scene.
08/03/2010 (6:41 am)
Hi,thanks for your proposal that's not working in Multiplayer as moveforward is on client side and the unmount on the serverside.
More, I think it more like a hack to force the player to simulate a small move to get the right result.
I'm sure there should be something as in the shape editor I can move from Sitting to Root, I just need to understand how they are changing the sequence behind the scene.
#3
I have tested only with client side.Its work for me in client side. Any how u try.
08/03/2010 (8:42 am)
@elvinceI have tested only with client side.Its work for me in client side. Any how u try.
Torque 3D Owner TigerHeros
Default Studio Name
{
%obj.setActionThread("run", true, true);
if (%node == 0)
{
%obj.mountImage(%obj.lastWeapon, $WeaponSlot);
%obj.setControlObject("");
moveforward(1); //Place the Code Here
}
}
While person click the UnMount the Chair
$chair.unmountObject(%client.player);
schedule(150,0,"moveforward"); //place the code Here.
I have also done this. Its work for me. U try any questions let me know.