Ok… @Swordslayer – that is some hardcore mxs. It was supposed to be an exercise and you have completed it for me I need to take a closer look and st…
Sure fn getMiddlePos A B = ( — getting the middle point position (A + B) * 0.5 ) fn setSlicePlane A B = ( — function to get the rotation of the s…
IShutter is using Qhull for cluster generation only, the fracturing is done in maxscript. I’m not generating any points for now, I’m using mesh vertic…
Thanks guys, I’ve realized that I’m using a local space coords, because it’s a rotation of the slice plane. Used this (inverse (matrixFromNormal (A …
Actually I dont how to get the rotation without the plane. When I use sth like that: fn setRot A B = ( rot = (matrixFromNormal (A – B)) as quat ) I …
Ok, I finallt got it. I actually don’t need any cross products!!!
wow, thanks. I wasn’t thinking of actually creating the plane. But I can get the rotation from the created plane! One strange thing happens now: mid…
I can do this other way, like in Houdini. Calculate double cross product of the vector to get 2 vectors perpendicular to this vector, which will give…
Thanks, that solves my issue #1 as well
Thanks. I can’t figure out what is the difference between my version and mxsc help version: fn getFilesRecursive root pattern = ( dir_array = GetDi…