|
Hi,
I’m trying to get this working but it seems like the FBStoryClip constructor is not working…
FBStory fbStory; FBStoryTrackType fbSTType = FBStoryTrackType(kFBStoryTrackCharacter)
char ccSceneName[MAX_PATH]; sprintf(ccSceneName, "%s", strSceneName.c_str())
//Create a StoryTrack and Put the animation in it FBPropertyStoryFolder pStory = fbStory.RootFolder;
FBStoryTrack pTrack = FBStoryTrack(fbSTType, pStory)
pTrack.Label = "Animation"; pTrack.CharacterIndex = 0;
FBTime pTime = FBTime(0,0,0,0,0)
FBStoryClip pClip = FBStoryClip(ccSceneName, pTrack, pTime)
When building everything else is fine but I get this error:
error C2665: ‘ORSDK90::FBStoryClip::FBStoryClip’ : none of the 3 overloads could convert all the argument types
error C2512: ‘ORSDK90::FBStoryClip’ : no appropriate default constructor available
When I go to the definition it seems fine. I see the 2 constructors but fail to actually use it.
Anyone know what to do with this?
Thanks
|
|
|
|
HFBStoryTrack pTrack = new FBStoryTrack(FBStoryTrackType::kFBStoryTrackCharacter)
char ccSceneName[256] = "C:\\Program Files\\Autodesk\\MotionBuilder 2010\\Templates\\tutorials\\mia_story.fbx";
FBTime pTime = FBTime(0,0,0,0,0)
HFBStoryClip pClip = new FBStoryClip(ccSceneName, pTrack, pTime)
~Kristine
KRISTINE MIDDLEMISS | DEVELOPER CONSULTANT
AUTODESK Media & Entertainment
|
|
|