# Exporting rotational data in a moving local coordinate system?

Hello!

Suppose I have a box travelling down a river hitting walls, stones etc. on the way down. When I export motion data I will get the values from the initial global coordinate system, but is there a way to export the rotations based on an initial local coordinate system of the box, which moves with the box?

In this way I would know how much the box has rotated around it self instead of around the global coordinate system which is a bit more useful. Of course with a moving local coordinate system I would know nothing about the translations, which I would then take from the global coordinate system.

Kind regards