Hi, I need the rotation speed (x,y,z-vector) of an object. I know how to calculate speed in general:
Code:
while(1) 
{
  copy = my.x;
  wait(1);
  speedX = my.x - copy; 
  wait(1);
}

The problem is that the pan, roll and tilt takes values that are going up and down and up and down (0=>360=>0 or 0=>90=>0=>-90 or 0=>180=>-180=>0). It's not possible to calculate the right speed then. Any idea ?