VerseIsland
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Sign in
Feed Learn Leaderboard Guides Explore Search Docs Verse Library
Verse API › Verse Language · Up to Verse API · Verse Language · 352 of 537 in Verse Language
Browse Verse API

Verse API reference page for the MakeShortestRotationBetween function

Makes the smallest angular rotation from InitialVector to FinalVector two vectors of arbitrary length such that: InitialVector * MakeShortestRotationBetween(InitialVector, FinalVector) = FinalVector and MakeShortestRotationBetween(InitialVector, FinalVector)?.GetAngleRadians() is as small as possible.

Verse using statement using { /Verse.org/SpatialMath }

MakeShortestRotationBetween<public><native>(InitialVector:vector3, FinalVector:vector3):rotation

Parameters

MakeShortestRotationBetween takes the following parameters:

Name Type Description
InitialVector vector3
FinalVector vector3

Attributes, Specifiers, and Effects

Specifiers

The following specifiers determine how you can interact with MakeShortestRotationBetween in your programs. For the complete list of specifiers, see the Specifiers Page.

Specifier Meaning
public The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data.
native Indicates that the definition details of the element are implemented in C++. Verse definitions with the native specifier auto-generate C++ definitions that a developer can then fill out its implementation. You can use this specifier on classes, interfaces, enums, methods, and data.

Comments

    Sign in to vote, comment, or suggest an edit. Sign in
    📄
    Source
    Epic Games

    © Epic Games. Official Epic developer documentation, shown here as a reference with a link to the original. All rights remain with Epic Games. Terms ↗

    View original Sources & licensing
    Request removal
    Last updated Jun 7, 2026
    Keep exploring
    More in Verse Language · 352 of 537
    Prev
    makerotationradians
    Next
    makeunitvector
    Browse all files in this folder (A–Z)
    Next up
    • `MakeShortestRotationBetween<public><native>(InitialVector:vector3, FinalVector:vector3):`[`rotation`
    • ### Specifiers
    Related topics
    • makeshortestrotationbetween Verse Language
    • Makeshortestrotationbetween 1 Verse Language
    • Makeshortestrotationbetween 1 Verse Language
    • makeshortestrotationbetween Verse Language
    • makeshortestrotationbetween Verse Language

    Related

    Open in graph →

    Related topics

    • makeshortestrotationbetween
    • Makeshortestrotationbetween 1
    • Makeshortestrotationbetween 1
    • makeshortestrotationbetween
    • makeshortestrotationbetween
    VerseIsland · an archipelago of Verse & UEFN knowledge
    Learn Guides History About & Press Sources & Licensing Status

    Not affiliated with Epic Games. Fortnite, UEFN, Unreal Engine, and Verse are trademarks of Epic Games, Inc. Content is attributed to its source — see Sources & Licensing.