cant get it to work... this is getting horribly frustrating, thanks for all the help so far. tried the wikipedia matrix thing
position object i+1,x#,y#,z#
a# = radtodeg(length vector3(b(i).a)) : normalize vector3 v3,b(i).a
x# = x vector3(b(i).a) : y# = y vector3(b(i).a) : z# = z vector3(b(i).a)
xy# = x#*y# : uxz# = x#*z# : yz# = y#*z# : cos# = cos(a#) : sin# = sin(a#)
set matrix4 mat,cos#+x#*x#*(1-cos#),xy#*(1-cos#)-z#*sin#,xz#*(1-cos#)+y#*sin#,0,xy#*(1-cos#)+z#*sin#,cos#+y#*y#*(1-cos#),yz#*(1-cos#)-x#*sin#,0,xz#*(1-cos#)-y#*sin#,yz#*(1-cos#)+x#*sin#,cos#+x#*x#*(1-cos#),0,0,0,0,1
transform coords vector3 v3,b(i).o,mat
point object i+1,object position x(i+1)+x vector3(v3),object position y(i+1)+y vector3(v3),object position z(i+1)+z vector3(v3)
where
b(i).a is the axis vector and its length is the angle
v3 is a spare vector
its inside a for next loop so i+1 is the object number and i is the vector number
this results in very twitchy superfast rotation tha makes no sense.