Skip to content

Library Global VectorHelpers

Gabriel edited this page Sep 26, 2023 · 1 revision

VectorHelpers

Provides utilities for various vector-related functions.

Functions;

  • Vector3 GetForward(Quaternion in_rotation) - returns the forward vector of the input rotation.
  • float GetMagnitude(Vector3 in_velocity) - returns the magnitude of the input velocity.
  • float GetHorizontalMagnitude(Vector3 in_velocity) - returns the horizontal magnitude of the input velocity.
  • Quaternion LookRotation(Vector3 in_forward, Vector3 in_upward) - rotates a Quaternion towards a Vector3.
Clone this wiki locally