ID3DXAnimationController Problems...
Greetings to all! How to me to find out, animation has come to the end or not?
I have found one method:
D3DXEVENTHANDLE GetCurrentTrackEvent();
But by its call there is a mistake:
D3DXEVENT_TYPE CurEvent;
D3DXEVENTHANDLE hEvent;
ZeroMemory(&hEvent,sizeof(D3DXEVENTHANDLE));
hEvent = g_pAnimController->GetCurrentTrackEvent(iTrack,&CurEvent);
It cannot will address to CurEvent though it is static structure...
How still it is possible to make it?
In advance thanks!
that would be the period i believe.
The period gives where the track is in an animation set.
The period gives where the track is in an animation set.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement