docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Teleport

    Teleport(Vector3, Quaternion, Vector3)

    Teleport the transform to the given values without interpolating

    Declaration
    public void Teleport(Vector3 newPosition, Quaternion newRotation, Vector3 newScale)
    Parameters
    Type Name Description
    Vector3 newPosition
    Quaternion newRotation
    Vector3 newScale

    new scale to scale to.

    Exceptions
    Type Condition
    Exception
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)