C# Class Curves.CurveFollower

Afficher le fichier Open project: TomBBonin/UnityHelpers

Méthodes publiques

Свойство Type Description
Curve Curve

Méthodes publiques

Méthode Description
MoveAlongCurve ( float time, float speed, Transform view ) : void
MoveAlongCurve ( float time, float speed, Vector3 &position, Quaternion &rotation ) : void
StartMoving ( Curve curve, float startTime, Vector3 &position, Quaternion &rotation, float maxDrift = 0f, float maxBank = 0f, float bankSmoothing = 0.001f ) : void

Private Methods

Méthode Description
GetLinearTimeOnCurve ( float posOnCurve ) : float

Method Details

MoveAlongCurve() public méthode

public MoveAlongCurve ( float time, float speed, Transform view ) : void
time float
speed float
view UnityEngine.Transform
Résultat void

MoveAlongCurve() public méthode

public MoveAlongCurve ( float time, float speed, Vector3 &position, Quaternion &rotation ) : void
time float
speed float
position Vector3
rotation UnityEngine.Quaternion
Résultat void

StartMoving() public méthode

public StartMoving ( Curve curve, float startTime, Vector3 &position, Quaternion &rotation, float maxDrift = 0f, float maxBank = 0f, float bankSmoothing = 0.001f ) : void
curve Curve
startTime float
position Vector3
rotation UnityEngine.Quaternion
maxDrift float
maxBank float
bankSmoothing float
Résultat void

Property Details

Curve public_oe property

public Curve,Curves Curve
Résultat Curve