The amin and amax functions are ideal for these kinds of things. Here’s an example: on tess pressed do ( — get the highest value of both spinners …
You simply forgot to add the magic numbers bipedHeight = 80 biped.createNew (bipedHeight*1.00728) -90 [0,0,bipedHeight*0.966022] Martijn
Just a note, you can also do something like amin 0 10 0 amax 0 10 10 so you could combine both methods to ‘clamp’ a number (eg. between -4 and 13): …
Gravey: Richard – I’m afraid you are wrong. The function i provided works correctly and in exactly the same way as the getFilesRecursive example fun…
Here’s the pc2 file structure: header char : header (12) – “POINTCACHE2” followed by a null char int : version – currently 1 int : number of points –…
Thanks for the replies guys Hadn’t noticed that thread ( search button? where? ) Cheers, Martijn
CerberusC: TIn my third post i posted the script i had to check, and the values are 0 and 1, i think this values are the maximun number of pixels th…
CompareBitmaps {<filename>File1 | <bitmap>bitmap1} {<filename>File2 | <bitmap>bitmap2} <int>tolerance(# different pixel…
losbellos: I have a dummy object and it is rotated around its Z axis with 15 degrees, and I will get this (matrix3 [0.965926,0.258819,0] [-0.258819…
Or, open 3dsmax.exe in a hex editor, go to byte offset 4815162 and change the value to 42
There’s no way to check whether a control point is selected or not. Also, the points can only be accessed/changed (position only) after they have been…
Stop teasing us Bobo!
Here’s a shorter and probably faster method using .NET: ((dotNetClass “System.IO.File”).ReadAllLines textInstructionFile).count Cheers, Martijn
Use collect to loop through the objects and create an array on the fly: shps = for obj in $Shape_* collect obj Or: shps = $Shape_* as array And to…