Curvy  8.4.0
FluffyUnderware.Curvy.Controllers Namespace Reference

Classes

class  ConnectedControlPointsSelector
 A class used by SplineController to define custom selection logic to select between the possible connected splines when the controller reaches a CurvyConnection More...
 
class  ControllerEvent
 
class  CurvyController
 Controller base class More...
 
class  CurvySplineMoveEvent
 EventArgs used by spline controller movements More...
 
class  CurvySplineMoveEventArgs
 EventArgs used by spline controller movements More...
 
class  MovementDirectionMethods
 Extension methods for MovementDirection More...
 
class  OnPositionReachedSettings
 Settings for events to be triggered when the controller reaches a specific position More...
 
class  PathController
 Controller working on Curvy Generator Paths More...
 
class  SplineController
 Controller working with Splines More...
 
class  UITextSplineController
 SplineController modifying uGUI text More...
 
class  VolumeController
 Controller using a Curvy Generator Volume More...
 

Enumerations

enum  MotionConstraints {
  None = 0, FreezePositionX = 1 << 0, FreezePositionY = 1 << 1, FreezePositionZ = 1 << 2,
  FreezeRotationX = 1 << 3, FreezeRotationY = 1 << 4, FreezeRotationZ = 1 << 5
}
 Defines what motions are to be frozen More...
 
enum  MovementDirection { Forward, Backward }
 Defines if the controller will move the object the same direction that the spline or the opposite one More...
 
enum  SplineControllerConnectionBehavior {
  CurrentSpline, FollowUpSpline, RandomSpline, FollowUpOtherwiseRandom,
  Custom
}
 Defines what spline a SplineController will use when reaching a CurvyConnection. More...
 
enum  TargetComponent { Transform, KinematicRigidbody, KinematicRigidbody2D }
 Defines what is the component controlled by the controller More...
 
enum  TriggeringDirections { All, Forward, Backward }
 Defines what travel directions should trigger an event More...
 

Enumeration Type Documentation

enum MotionConstraints
strong

Defines what motions are to be frozen

Enumerator
None 

No constraints.

FreezePositionX 

Freeze motion along the X-axis.

FreezePositionY 

Freeze motion along the Y-axis.

FreezePositionZ 

Freeze motion along the Z-axis.

FreezeRotationX 

Freeze rotation along the X-axis.

FreezeRotationY 

Freeze rotation along the Y-axis.

FreezeRotationZ 

Freeze rotation along the Z-axis.

enum MovementDirection
strong

Defines if the controller will move the object the same direction that the spline or the opposite one

See also
MovementDirectionMethods
Enumerator
Forward 

Same direction than spline's tangent

Backward 

Opposite direction than spline's tangent

Defines what spline a SplineController will use when reaching a CurvyConnection.

Enumerator
CurrentSpline 

Continue moving on the current spline, ignoring the connection.

FollowUpSpline 

Move to the spline containing the Follow-Up if any. If none, continue moving on the current spline, ignoring the connection.

RandomSpline 

Move to the spline of a randomly selected control point from all the connected control points.

FollowUpOtherwiseRandom 

Move to the spline containing the Follow-Up if any. If none, move to the spline of a randomly selected control point from all the connected control points.

Custom 

Use a custom defined selection logic

enum TargetComponent
strong

Defines what is the component controlled by the controller

Enumerator
Transform 

A transform

KinematicRigidbody 

A Rigidbody that is set to be kinematic

KinematicRigidbody2D 

A Rigidbody2D that is set to be kinematic

enum TriggeringDirections
strong

Defines what travel directions should trigger an event

Enumerator
All 

All directions

Forward 

Same direction as spline's tangent

Backward 

Opposite direction as spline's tangent