We will use this setup in all of the function examples:
We have a sphere with radius of 0.1 located at 0, 0, 0. The translation of the sphere is set to explicit (example will also work with implicit channels but differ in code). In some examples that deal with vector functions the transition of the sphere will be set to implicit translation. Also refer to understanding vectors. The grid has a scale of 1 between major lines and 0.1 between minor lines. We look from front view: positive Y is top and positive X is right.
In most examples examples the X position of the sphere is animated with this statement:
sphere.XPosition = time;
this will move the sphere 1 unit to the right in 1 second.
|