Node Orientation


Hi everyone,
How should I orient the reference frame of a created node on the body model with that of the global reference frame.
Thanks a lot for your help :).


Hi Naga,

In order to create a node (Node_GlobalRF) on a given segment (Seg_1) with the same orientation as the global ref frame use the following:

  AnySeg Seg_1 = {

    AnyMat33 AOffset = Seg_1.Axes0;
    AnyVec3   rOffset  = Seg_1.r0;      

    AnyRefNode Node_GlobalRF ={
      sRel = -.rOffset*.AOffset;
      ARel = .AOffset';

This particular code places the node at the global origin, adjust if necessary.

Best regards,