Guides

VRTK_TransformFollow

extends VRTK_ObjectFollow

Overview

Changes one GameObject's transform to follow another GameObject's transform.

Class Variables

  • public enum FollowMoment - The moment at which to follow.
    • OnFixedUpdate - Follow in the FixedUpdate method.
    • OnUpdate - Follow in the Update method.
    • OnLateUpdate - Follow in the LateUpdate method.
    • OnPreRender - Follow in the OnPreRender method. (This script doesn't have to be attached to a camera).
    • OnPreCull - Follow in the OnPreCull method. (This script doesn't have to be attached to a camera).

Class Methods

Follow/0

public override void Follow()

  • Parameters
    • none
  • Returns
    • none

Follow gameObjectToFollow using the current settings.