Author Topic: how to set one axis of bounding box to be between two arbitrary points  (Read 1591 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
Hi everyone,

I'd like to programmatically rotate the bounding box so that its Z-Axis is defined by two points. How do I need to setup the rotation matrix for that? I don't care how X and Y axis are oriented.