MotionSimulator.MotionGraph

public class MotionGraph;

Description

A snapshot of a calculated motion graph.

Constructors

public MotionGraph(Vector2[] up, Vector2[] down, int stopIndex);
Parameter Description
up The recorded upwards motion.
down The recorded downwards motion.
stopIndex The index where the motion is above y(0).

Properties

Property Description
up The recorded upwards motion.
down The recorded downwards motion.
stopIndex The index where the motion is above y(0).

Methods

Method Description
DownStopped Returns a polyline graph of the complete motion above the y(0) axis.