|
Hi, as I’m fairly new to all this I can’t seem to get my head around creating folders in the SDK. I’ve scanned through all the samples but without any luck.
Help gives me:
FBFolder (char *pName, HFBComponent pComponent, HIObject pObject=NULL)
and since I want to add a constraint folder I get:
FBConstraintManager lCM;
FBSystem mSystem;
HFBConstraint lConstraint;
FBFolder lFolder;
lConstraint = lCM.TypeCreateConstraint(9);
lConstraint->Name = "Temp";
mSystem.Scene->Constraints.Add(lConstraint);
lFolder = FBFolder("FolderName", lConstraint); <<<---- Missing something here, no default constructor?!?!!?
Any help pointing me in the right direction is greatly appreciated!
Cheers,
Chris
Choose a job you love, and you will never have to work a day in your life.
|
|
|
|
Hi, figured it out myself.
For anyone else interested:
HFBFolder lFolder;
.... lFolder = new FBFolder("Test", lConstraint, NULL);
Cheers,
AV
Choose a job you love, and you will never have to work a day in your life.
|
|
|