hmmm.. as a slight hijacking of this thread, I've got a question.
With usual blitz comands you can create a pivot, create a mesh parented to the pivot, and then find out the meshes positition local to the pivot through entityx(mesh,0).... what I want to do is do that purely mathamatically. I have one type structure holding a position, a pitch, yaw, and roll. I want to be able to give a global position and recieve a position local to the pivot. I would be very grateful if anyone has a good fast solution to this.
With usual blitz comands you can create a pivot, create a mesh parented to the pivot, and then find out the meshes positition local to the pivot through entityx(mesh,0).... what I want to do is do that purely mathamatically. I have one type structure holding a position, a pitch, yaw, and roll. I want to be able to give a global position and recieve a position local to the pivot. I would be very grateful if anyone has a good fast solution to this.