tamte
that code looks like you were trying to throw someone off of your scent
I genuinely got lost
try this
vector up = {0,1,0};
@orient = quaternion( maketransform( normalize(v@N), normalize(up) ) );
I’m a beginning leaner of vex(), the reply really helps me!!
Thanks a loooooooooot !!
As a beginner, still have some doubts in my mind, like
The first one
Still want to know,
Because I’m studying the function like quaternion(),cross(), qmultiply()…..
I really want to know
Why I rotate one axis, then the other, it works, except the 360 degree points
And ,how can I fix it(of course maketransform been learned)(for other scenario or example )
I think if I do not understand the reason, the same problem will happen again and again
Second,
The maketransform don’t work very well with the top and bottom points, witch the N and up axis is the same
If I need, how can I fix this in a good way ?
Thanks again!!!!