Relative movement and starting point

- Chapter : More details -

Next section > Rezzing

All recorded movement, be it "smooth" (keyframed) motion or immediate movement, are recorded as relative to the previous position, i.e. the one the object has after the previous step. This affects both position and orientation. This means that if your object movement was recorded with a given orientation and position as starting point A, but played with another point as starting point B and maybe another orientation, the distance it moves from B is the same as the distance it was moving from A at recording time.

In other words, what is recorded is not the starting and ending positions and orientations, but rather the distance and direction it moves, as well as the amount of degrees it turns by, at each step.

Since version 2.0 of the MvtPlayer, the initial orientation is taken into account when starting a movement, with comparison to the initial orientation used during the recording, to recompute the direction of the whole movement.

To make this clearer, let's suppose, for example, that you recorded a movement with zero initial orientation <0,0,0> (that is 0° around each axis). Then at playback time you first rotate your object 90 degrees around the vertical axis: it now has orientation <0,0,90>. Then the whole movement (event before it starts) gets rotated by 90 degrees around the vertical axis.

In practice, this is what you will intuitively expect and the script does the required computations.