A* Pathfinding Project  4.1.19
The A* Pathfinding Project for Unity 3D
BezierMover Class Reference

Moves an object along a spline. More...

Detailed Description

Moves an object along a spline.

Helper script in the example scene called 'Moving'.

Public Attributes

Transform [] points
 
float speed = 1
 
float tiltAmount = 1f
 

Private Member Functions

void OnDrawGizmos ()
 
Vector3 Position (float t)
 
void Update ()
 Update is called once per frame. More...
 

Private Attributes

float time = 0
 

Member Function Documentation

◆ OnDrawGizmos()

void OnDrawGizmos ( )
private

◆ Position()

Vector3 Position ( float  t)
private

◆ Update()

void Update ( )
private

Update is called once per frame.

Member Data Documentation

◆ points

Transform [] points

◆ speed

float speed = 1

◆ tiltAmount

float tiltAmount = 1f

◆ time

float time = 0
private

The documentation for this class was generated from the following file: