/*=========================================================================== rootmatrixdriver.cpp created Jan 24, 2002 by Greg Mayer Copyright (c) 2002 Radical Entertainment, Inc. All rights reserved. ===========================================================================*/ #include #include #include #include #include //------------------------------------------------------------------------ void RootMatrixDriver::Update(poser::Pose* pose) { poser::Joint* j = pose->GetJoint(0); //rmt::Matrix m = j->GetObjectMatrix(); //m.Mult(*mRootMatrix); j->SetWorldMatrix(*mRootMatrix); // recall, mRootMatrix is a pointer to mTransform of the physics vehicle }