RotateAroundPoint Class

Definition

This class provides functionality to rotate the hand hint around a pivot point over time.

public ref class RotateAroundPoint : UnityEngine::MonoBehaviour
public class RotateAroundPoint : UnityEngine.MonoBehaviour
type RotateAroundPoint = class
    inherit MonoBehaviour
Public Class RotateAroundPoint
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
RotateAroundPoint

Constructors

RotateAroundPoint()

Properties

AnimationCurve

Lerp curve that controls the animation rotation over time.

CenteredParent

Parent object centered at rotation center.

Duration

Duration of rotation around the CenteredParent in seconds.

InverseParent

Hand hint parent to rotate inverse to centeredParent to keep hand orientation the same.

PivotPosition

Point to start movement at.

RotationVector

How many degrees to rotate along each axis.

Methods

LateUpdate()
ResetAndDeterminePivot()

Reset position to the PivotPosition.

RotateToTarget()

Start the rotation sequence.

Applies to