Documentation
    Preparing search index...

    Class EllipticalTrajectory

    Axis-aligned ellipse in the XY plane, swept at a constant parameter rate (not constant arc speed).

    θ(t) = phase + angularVelocity · t
    p(t) = center + (rx·cos θ, ry·sin θ, 0)
    v(t) = ω · (−rx·sin θ, ry·cos θ, 0)
    a(t) = −ω² · (rx·cos θ, ry·sin θ, 0)
    

    duration is one revolution of the parameter, 2π / |ω|.

    Implements

    Index
    angularVelocity: number

    Parameter sweep rate in radians per second.

    center: Vector3

    Centre of the ellipse.

    duration: number

    One revolution in seconds, or Infinity when angularVelocity is 0.

    phase: number

    Parameter angle at time = 0, in radians.

    radiusX: number
    radiusY: number