Table of Contents

Class CurvyController.OrientationDamper

A class that handles the damping of the orientation of the controller

protected class CurvyController.OrientationDamper
Inheritance
CurvyController.OrientationDamper

Constructors

OrientationDamper(CurvyController)

public OrientationDamper(CurvyController controller)

Parameters

controller CurvyController

Methods

Damp(Quaternion, Vector3, Vector3, float)

public Quaternion Damp(Quaternion sourceOrientation, Vector3 targetForward, Vector3 targetUp, float deltaTime)

Parameters

sourceOrientation Quaternion
targetForward Vector3
targetUp Vector3
deltaTime float

Returns

Quaternion

Reset()

public void Reset()