Aber ich glaub dazu müsstest du die Kompletten Wings ändern oder neue dazu machen und glaub das hängt wieder mit Bones zusamm (0 Plan von XD)??
#if __VER >= 14 // __WING_ITEM
if( pRideProp && pRideProp->dwItemKind3 == IK3_WING )
{
static const int SPINE1_BONE = 4; // ¸ö ºÎ±Ù ôÃß(³¯°³ÀÇ ¿òÁ÷ÀÓÀº ij¸¯ÅÍ ¸öÀÇ ¿òÁ÷ÀÓÀ» µû¸¥´Ù)
static const int SPINE2_BONE = 5; // ¸ñ ºÎ±Ù ôÃß(³¯°³°¡ ¸öÀÇ ¿òÁ÷ÀÓÀ» µû¸£´õ¶óµµ À§Ä¡´Â ¸ñ ºÎ±Ù¿¡ ºÙÀδÙ)
D3DXMATRIX* pmatSpine1Bone = pModel->GetMatrixBone( SPINE1_BONE );
D3DXMATRIX* pmatSpine2Bone = pModel->GetMatrixBone( SPINE2_BONE );
if( pmatSpine1Bone && pmatSpine2Bone )
{
D3DXMATRIX matEvent;
D3DXMatrixIdentity( &matEvent );
D3DXMATRIX matRotation;
D3DXMatrixIdentity( &matRotation );
D3DXMatrixRotationX( &matRotation, D3DXToRadian( 180 ) );
D3DXMatrixMultiply( &matEvent, &matRotation, &matEvent );
D3DXMatrixRotationZ( &matRotation, D3DXToRadian( -90 ) );
D3DXMatrixMultiply( &matEvent, &matRotation, &matEvent );
D3DXMatrixMultiply( &matEvent, &matEvent, pmatSpine1Bone );
// ±êÅÐ ³¯°³¿¡ ´ëÇØ¼*¸¸ Àӽà À§Ä¡ º¸Á¤ (ÃßÈÄ ¹Ýµå½Ã ¸ðµç ³¯°³°¡ else ÂÊ ÄÚµå·Î ÅëÀϵǾî¾ß ÇÔ)
if( pRideProp && ( pRideProp->dwID == II_RID_RID_WIN_FEATHER01 || pRideProp->dwID == II_RID_RID_WIN_FEATHER02 ) )
{
matEvent._41 = pmatSpine2Bone->_41;
matEvent._42 = pmatSpine2Bone->_42 - 0.02f;
matEvent._43 = pmatSpine2Bone->_43 + 0.1f;
}
else
{
matEvent._41 = pmatSpine2Bone->_41;
matEvent._42 = pmatSpine2Bone->_42;
matEvent._43 = pmatSpine2Bone->_43;
}
D3DXMatrixMultiply( &mRide, &matEvent, &m_matWorld );
}
}
#endif // __WING_ITEM
Ich überleg mal weiter bin mir sich das mir noch was einfällt xD