the problem was in side of rotation – rotate to the left or right? cause dot product gives only angle. So we need to add check with help of cross prod…
it seems i forgot that 3ds max quat rotates in different side) you need to add inverse in last line. and to ensure you’re rotating the shortest angle …
because its shorter. and its even shorter if object-offset matrix of the first object is not 1. And with quats all you need is change transform to obj…
Let’s say you want to rotate vector N around M to fit in XY plane. first you need to find projection of N in XY – cross prod of the M and third vect…
Let’s say you have 2 objects (o1 and o2) – with transform matrices tm1 and tm2 respectively. And want to rotate o1 around Y axis so that Z axis is in…
i’d better define imaginary plane with matrix3 and height and width. find x,y for every object in that plane coords load bitmaps in memory (as bitmap …
this is what particles should used for.
fn moveP2 p1 p2 dist = ( p3 = p2-p1 p1 + p3*(1+(dist/(length p3))) )
Denis, assuming that fibers are all the same across one mesh, get any element and: basecount = ((number_of_verts_in_element – number_of_faces_in_eleme…