Gems/EMotionFX/Code/EMotionFX/Source/MotionSystem.cpp
MotionInstance* MotionSystem::CreateMotionInstance(Motion* motion, PlayBackInfo* info)
    {
        // create the motion instance
        MotionInstance* motionInst = GetMotionInstancePool().RequestNew(motion, m_actorInstance);

        // initialize the motion instance from the playback info settings
        motionInst->InitFromPlayBackInfo(*info);

        return motionInst;
    }
// create the motion instance and add the motion info the this actor
create the motion instance and add the motion info the this actor
create the motion instance and add the motion info the this actor
MotionInstance* MotionSystem::CreateMotionInstance(Motion* motion, PlayBackInfo* info)
    {
        MotionInstance* motionInst = GetMotionInstancePool().RequestNew(motion, m_actorInstance);
        motionInst->InitFromPlayBackInfo(*info);
        return motionInst;
    }
MotionInstance * MotionSystem :: CreateMotionInstance ( Motion * motion , PlayBackInfo * info ) { MotionInstance * motionInst = GetMotionInstancePool ( ) . RequestNew ( motion , m_actorInstance ) ; motionInst -> InitFromPlayBackInfo ( * info ) ; return motionInst ; }
create the motion instance and add the motion info the this actor
create the motion instance and add the motion info the this actor
// create the motion instance // initialize the motion instance from the playback info settings