API V2 Reference: CastTrajectory - EtiTheSpirit/FastCastAPIDocs GitHub Wiki

This is obsolete. Visit https://etithespirit.github.io/FastCastAPIDocs/ instead.

CastTrajectory

A CastTrajectory is an object that represents a segment of an ActiveCast's trajectory. ActiveCasts are graphed as Piecewise Functions, so this object represents one of the cases.

Properties

number StartTime

The time that this CastTrajectory started at. This is relative to when the entire cast started (so the first CastTrajectory will always have this value set to 0)

number EndTime

The time that this CastTrajectory ended at, or -1 if it has not ended yet.

Vector3 Origin

The position of the ActiveCast when this segment was created.

Vector3 InitialVelocity

The velocity of the ActiveCast when this segment was created.

Vector3 Acceleration

The acceleration of the ActiveCast when this segment was created.