Fixing bones in c.o.f.f.e.e.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/08/2004 at 09:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
Hey, can anyone please tell me how to FIX a bone using c.o.f.f.e.e. ?
.... -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/08/2004 at 01:08, xxxxxxxx wrote:
Answered above:
enum { // object properties ID_FIXED = 820, BONEOBJECT_FUNCTION = 1000, // LONG BONEFUNCTION_R = 0, BONEFUNCTION_R2 = 1, BONEFUNCTION_R4 = 2, BONEFUNCTION_R6 = 3, BONEFUNCTION_R8 = 4, BONEFUNCTION_R10 = 5, BONEOBJECT_LIMITRANGE = 1001, // BOOL BONEOBJECT_SCALESTRENGTH = 1002, // BOOL BONEOBJECT_MINRANGE = 1003, // REAL BONEOBJECT_MAXRANGE = 1004, // REAL BONEOBJECT_STRENGTH = 1005, // REAL BONEOBJECT_LENGTH = 1006, // REAL BONEOBJECT_FIXPOSITION = 1007, // VECTOR BONEOBJECT_FIXSCALE = 1008, // VECTOR BONEOBJECT_FIXROTATION = 1009, // VECTOR BONEOBJECT_FIXLENGTH = 1010, // REAL BONEOBJECT_NULL = 1011, // BOOL BONEOBJECT_FIXED = 1012, // BOOL BONEOBJECT_FIX = 1013, // BUTTON BONEOBJECT_FIXCHILDS = 1014, // BUTTON BONEOBJECT_FIXCHAIN = 1015, // BUTTON BONEOBJECT_NEWBONES = 1017, // BOOL: new bone algo BONEOBJECT_VERTEXMAPMODE = 1018, // BOOL: TRUE shows the new vertexmap mode for FBX (absolute maps) BONE_DUMMY }; TestPlugin::Execute(document) { var bone = document->GetFirstObject(); var bc = bone->GetContainer(); bc->SetData(BONEOBJECT_FIXPOSITION, vector(100, 200, 300)); // ... bc->SetData(BONEOBJECT_FIXED, TRUE); bone->SetContainer(bc); GeEventAdd(DOCUMENT_CHANGED); return; }
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/08/2004 at 11:32, xxxxxxxx wrote:
thankyou very very much!!!!! This is a life saver !