Hello,
using maxscript, I wish to place an object over a spline, orienting it using the tangent vector at a spline point.
What I do now is:
-get the tangent vector from the spline sampled point
-build a matrix from the tangent
-put the matrix (translated to the spline sampled point) to an object
It works, but I haven’t control over the normal and binormal vectors of the resulting plane. (sometimes my up vector is Y, sometimes is X).
Which is the best way to calculate and force an UP vector (like a pole vector) to the plane I have from the spline tangent?
thanks,
Alessandro