TeleportArcGravity Class
This is a parabolic shot.
Gravity and speed are used to calculate the points along the arc. It also contains a series of modifiers in order to adjust the origin of the arc to adapt better in different situations such as when pointing at your feet, far away or up high
AnimationCurve RangeCurve[Get]
AnimationCurve StabilizationMixCurve[Get]
AnimationCurve PitchCurve[Get]
float GravityModifier[Get]
Max number of points that define the polyline.
Vector3 PointAtIndex ( int index )
Calculates the position N vertex of the polyline.
ParametersindexThe N vertex of the polyline been queried.
ReturnsThe position of the polyline at the index-th point
void UpdateArcParameters ( )
void InjectAllTeleportArcGravity ( Transform origin,
Transform stabilizationPoint )
void InjectOrigin ( Transform origin )
void InjectStabilizationPoint ( Transform stabilizationPoint )