t2dShape3D Play Animation in a mounted object
by Alexandre Ribeiro de Sa · in Torque Game Builder · 11/17/2010 (7:05 am) · 1 replies
Hello everyone.
I have a t2dShape3D character with a mounted object with him, a gun..
My question is if someone know how can I play the gun animation in a different thread...
All the best!
Alexandre
I have a t2dShape3D character with a mounted object with him, a gun..
My question is if someone know how can I play the gun animation in a different thread...
All the best!
Alexandre
About the author
now with an iPod :D
Torque 3D Owner Alexandre Ribeiro de Sa
bool pskActor3D::setMountedSequence( U32 node, const char* sequence ) { S32 seq = mAnimationPuppet->getMountedShape(node)->mShapeInstance->getShape()->findSequence( StringTable->insert( sequence ) ); mAnimationPuppet->getMountedShape(node)->mShapeInstance->setSequence(mAnimationPuppet->getMountedShape(node)->mShapeThread, seq, 0.0f); }How can you play a animation in a mounted shape (I'm using PSK)