I use the kdtree for this… keep adding points to the tree while they the fixed distance apart (you have to have an ‘attempts’ variable to stop it tryi…
thanks, you could add a dot ab bc == 1.0 test and if true create a line instead… sp = splineshape(); sl = addnewSpline sp; addKnot sp sl #bezierCorne…
for the latter… something like this ? fn intersection2d p1 r1 p2 r2 = ( dx = p2.x – p1.x, dy = p2.y – p1.y; det = r2.x * r1.y – r2.y * r1.x; p1 +…
for those particular solutions thats 3 points and 2 tangents btw or are we talking circle fitting ?
with c# and c++ etc the core runtime libraries required to execute the code are in the public domain along with the required compilers… not so with mx…
no has the same… #define I_BIPMASTER 0x9165 #pragma deprecated(“I_BIPMASTER”) #define I_BIPDRIVER 0x9165 do you need to check it’s a valid biped s…
It would probably start with something like IIBipMaster if it is, Yeah I was looking at an older sdk help (it’s much faster to navigate and far more u…
I’m not using dotnet , just making guesses as I know nothing about c# and max. The only I can think of trying is to create your own c# callable c++ fu…
could try something like… unsafe { object setXFormPacket = globalInterface.SetXFormPacket.Create(matrix,globalInterface.Matrix3.Create(…
declare it as unsafe
what about… object setXFormPacket = globalInterface.SetXFormPacket.Create(matrix,globalInterface.Matrix3.Create()); object* ptr = &setXFormPacket…
“&” in &pckt means we should send the pointer not variable, right? yes in you are passing the memory address of the object… you could also d…
virtual void Control::SetValue ( TimeValue t, void * val, int commit = 1, GetSetMethod method = CTRL_ABSOLUTE ) [pure virtual] …
try the c# version of this… SetXFormPacket pckt(destTM); tmControl->SetValue(ip->GetTime(), &pckt);
have you tried… selNode.SetNodeTM(time, matrix); ? otherwise you need to know what controller you are going to be dealing with usually a PRS so you…