# Motion path

When creating cinematics, we need a convenient way of making objects follow a path, or making smooth camera travelings. That's where the MotionPath come in handy.

## Description

The MotionPath is a control over a Spatial object. that means that it's able to update the Spatial position on each frame.
It contains a list of way points that are positions in world space that determine the general shape of the path.
The accurate shape is computed using a linear interpolation or a
spline interpolation.

- Linear interpolation result in straight segments between the way points.
- Catmull-Rom splines allow to create a very smooth path with few way points, ensure that the curve goes through each way point, with the possibility to adjust the tension of the curve. This is the interpolation you are going to use in most cases

more to come…

view online version