Rotu
@rotu
New Member
Joined: Feb 15, 2024
Topics: 5 / Replies: 26
Reply
RE: Flip Matrix on X and Y Axis in World Space

Try this: multiply each vector in the matrix by [-1,-1,1]. p = point() p.rotation = (random (quat -1 -1 -1 0) (quat 1 1 1 1)) p.pos = [(random 0.0 5…

9 years ago
Forum
Reply
RE: Adding a default string to a dropdownlist

rollout […] ( local cams = for i in cameras where superclassof i == Camera collect i.name [B]insertItem ” — Select Camera — ” cams 1[/B]…

10 years ago
Forum
Reply
RE: how to put this to an array

Max’s Key arrays are frustrating to use (surprise!) s = sphere() animate on ( at time 0 ( s.pos = [0,0,0] ) at time 10 (s.pos = [10,0,0] ) at time…

10 years ago
Forum
Reply
RE: My trig is bad; what am I doing wrong? Need an SSA function

I found this page: and according to the math here, a getBC() function would look like this: fn getBC ab ac b = ( sqrt( (ab*ab) + (ac*ac) – (2*ab*a…

10 years ago
Forum
Reply
RE: how to select just created SkinData mesh

You could make a temporary callback to grab it like this: fn skinUtilsWrapper o = ( callbacks.removeScripts id:#getSkinDataObj fn f_getSkinDataObj …

10 years ago
Forum
Reply
RE: Add bone in Skin Modifier always give me"unknown system exception"

Skinops throws that error when you try to use it when the skin modifier isn’t currently active in the modifier panel (ugh…). Make sure the skin modifi…

10 years ago
Forum
Reply
RE: script controller : how to reference array of nodes ?

I’ve tried this before, but just for fun… p = point name:”p1″ c = float_script() p[#transform][#position][#x_position].controller = c a = #((datapair…

10 years ago
Forum
Reply
RE: MXS Code Standards: Using of if/then vs. if/do

Is there any advantage to using “do” instead of “then” for single-case if statements? For one thing, if you use “do”, then decide later to add an “el…

10 years ago
Forum
Reply
RE: dotnet treeview: checkbox only for root level items.

I’ve used it for a few UI’s here. There are a few peculiarities as compared to standard windows.forms stuff, but definitely usable in Maxscript. Stack…

10 years ago
Forum
Reply
RE: dotnet treeview: checkbox only for root level items.

XtraTreeList, which comes with Max, supports checkboxes for any level and additional columns. dotnetobject “DevExpress.XtraTreeList.treelist”

10 years ago
Forum
Reply
RE: MXS coding standards: fn vs function

I did lots of Maxscript 1998-2002, but I can’t remember what I used back then. Then I did lots of MEL for a few years, where a procedure was a “proc”…

10 years ago
Forum
Topic
Forum
Replies: 7
Views: 18
Reply
RE: structs and referencing functions within itself

You can use the keyword “this” to reference internal struct variables and functions. struct foo ( a = “hi”, b = “there”, fn fooPrint = (form…

11 years ago
Forum
Reply
RE: Unusual Layer Behaviour

If you just want to unhide a single object, use $.isNodeHidden. as per the maxscript docs “General Node Properties” page. isHidden covers the followi…

12 years ago
Forum
Reply
RE: converting pos and rot values to a new matrix

Mambo4: given a set of point 3 values for position and rotation, and a new transform matrix, how do I convert them? given : …

12 years ago
Forum
Page 1 / 3