API reference
API reference
Select your platform
No SDKs available
No versions available

TeleportArcGravity Class

Extends MonoBehaviour, IPolyline
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

Properties

AnimationCurve RangeCurve[Get]
AnimationCurve StabilizationMixCurve[Get]
AnimationCurve PitchCurve[Get]
float GravityModifier[Get]
int PointsCount[Get]

Protected Fields

bool _started[Get]

Protected Functions

virtual void Start ( )
virtual void Update ( )

Member Functions

Calculates the position N vertex of the polyline
Parameters
index
The N vertex of the polyline been queried.
Returns
The position of the polyline at the index-th point
void InjectAllTeleportArcGravity
( Transform origin,
Transform stabilizationPoint )
void InjectOrigin
( Transform origin )
void InjectStabilizationPoint
( Transform stabilizationPoint )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon