If you don’t need the node to be aligned with the face normal, but extruded in the direction of the face normal you could also convert the shape to po…
MZ: But my question still remained. Why SetCamera will stop the playback? while actionMan.executeAction 0 “40068” – Views: Camera View will not? …
( with redraw off viewport.setcamera <camera> )
Just an idea. It seems to work with the test scene but may well fail with others. ( fn RebuildMorphTargets node = ( max modify mode morph_…
Something like this may work. Fully untested! for i in (getclassinstances color_correction) where iskindof i.map bitmaptexture do replaceinstances i …
Please do a search on how to add an icon to a MacroScript. It has been answered many times here and in other forums as well as in the MXS help. The #…
I just realized that the “Comments” property index won’t always be 3, so before you start getting a lot of errors while attempting to read it here is …
You could use the fileProperties to save/read the comments and avoid working with external files if all you need is plain text. — Save text fileProp…
Try: modPanel.setCurrentObject $.baseObject node:$
Since the conflicting items are the one with a value of zero, removing them from the array allows to implement a simpler comparator. This new algorit…
But the array I showed previously does not work with any of the algorithms proposed here. Have you checked it? #(-1, 5, 5, 5, 5, 0, 2, -5, 0, 0, 0) …
Since you won’t have more than 1 cero (0.0) in the array, this one is around 50% faster (I hope) ( fn Compare v1 v2 = ( if v1[1] > v2[1] then …
You could replace: for k=1 to tab.count do arr[tab[k][2]] = if k > num then tab[k][1] else 0 by for k = 1 to num do arr[tab[k][2]] = 0 A little b…
I still see the same problem for array: #(-1, 5, 5, 5, 5, 0, 2, -5, 0, 0, 0) it returns: #(0, 5.0, 5.0, 5.0, 5.0, 0, 2.0, 0, 0, 0, 0.0) Where there …
Still has some issues I think: tt = #(-1, 5, 5, 5, 5, 0, 2, -5, 0, 0, 0) limit = 6 returns #(0, 5.0, 5.0, 5.0, 5.0, 0, 2.0, 0, 0, 0, 0.0)