dokdan85
@dokdan85
New Member
Joined: Feb 15, 2024
Topics: 2 / Replies: 41
Reply
RE: Matrix Interpolation

First of all, that line tempStretchRot = global.Slerp(tempStretchRot, partsA.U, percentage); should be replaced with that one tempStretchRot = gl…

11 years ago
Forum
Reply
RE: Matrix Interpolation

Your implementation looks correct, I have the same code in C++ working fine for me. But the original interpolation method doesn’t care about of axis s…

11 years ago
Forum
Reply
RE: pivot alignment

So now you’re talking about ALIGNING pivots and not about FLIPPING, aren’t you?

12 years ago
Forum
Reply
RE: pivot alignment

I’ll check it next week

12 years ago
Forum
Reply
RE: pivot alignment

Post max file anyway. Why not?

12 years ago
Forum
Topic
Forum
Replies: 0
Views: 3
Reply
Reply
RE: SDK – get rotation and scale of object as x y z

your result is correct but it’s in radians all you need is to convert it to degrees in maxscript radtodeg() #define RadToDeg ( rad ) (((f…

13 years ago
Forum
Reply
RE: SDK – get rotation and scale of object as x y z

Ok. Controllers store values in local space. if you want in world space i think the best way will be to get node transform and then decompose its part…

13 years ago
Forum
Reply
RE: SDK – get rotation and scale of object as x y z

try this one. this code for position only for rotation and scale exactly the same approach. TimeValue t = GetCOREInterface()->GetTime(); float x,y…

13 years ago
Forum
Reply
RE: SDK – get rotation and scale of object as x y z

I think you looking for this one. node->GetTMController()->GetPositionController()->GetValue(); node->GetTMController()->GetRotationCo…

13 years ago
Forum
Reply
RE: Problem applying CASpinner as Track to a scriptController

$ScriptNode.addTarget “Name” Node.modifier[#Attribute_Holder].ca_def.Spinner1.controller but in CA definition you have to define default controller …

13 years ago
Forum
Reply
RE: Finding the furthers vertex in an axis

or… use iterations to get x/y/z value of every vertex and compare it with previously found vertex or… get size of bounding box(actually it’s the same)…

13 years ago
Forum
Reply
RE: Getting the Parent Root of a hierarchy

yep you’re right, recursion has problems and programmer should always care about depth of recursion and think that it can make stack overflow. but so…

13 years ago
Forum
Reply
RE: Getting the Parent Root of a hierarchy

fn getRoot node = if isvalidnode node.parent then getRoot node.parent else node i like recursion

13 years ago
Forum
Page 1 / 3