Source and binary:
http://upload.one2car.com/download.aspx ... XZZY5FF5D1
http://file2.uploadfile.biz/i/IVEDMEIMIZXDEW
http://www.4shared.com/rar/8fxu65xj/unreal_loader.html
How to use: (Tested from 01.HelloWorld)
1. Register loader (before call getmesh)
Code: Select all
CPSKMeshFileLoader* psk_loader = new CPSKMeshFileLoader( smgr );
CPSAMeshFileLoader* psa_loader = new CPSAMeshFileLoader( smgr );
smgr->addExternalMeshLoader( psk_loader );
smgr->addExternalMeshLoader( psa_loader );
psk_loader->drop( );
psa_loader->drop( );
Code: Select all
IAnimatedMesh* animation = smgr->getMesh("Female.PSA");
s32 begin, end;
f32 speed;
((SSkinnedMesh*)animation)->getFrameLoop( core::stringc("Push"), begin, end, speed );
((ISkinnedMesh*)mesh)->useAnimationFrom( ((ISkinnedMesh*)animation) );
node->setFrameLoop( begin, end );
node->setAnimationSpeed( speed );
female model: http://udn.epicgames.com/Two/UnrealDemoModels.html