Guides
These docs are for v3.2.0. Click to read the latest docs for v3.3.0.

VRTK_TransformFollow

extends VRTK_ObjectFollow

Overview

Changes one game object's transform to follow another game object's transform.

Class Variables

  • public enum FollowMoment - The moment at which to follow.
  • 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.)