Godot::Vector3
Inherits Struct < Value < Object
3-element structure that can be used to represent 3D coordinates or vectors with 32-bit floating point precision.
Constants
Common constants
Constructors
Instance methods
Returns the unsigned angle in radians between this vector and other.
Returns a new vector bounced off a plane defined by the given normal.
Returns the normalized direction from this vector toward other.
Returns the squared distance between this vector and other.
Linearly interpolates between this vector and to by weight.
Moves this vector toward to by the given delta amount, never exceeding to.
Returns a new vector reflected from a plane defined by the given normal.
Rotates this vector around the given axis by the given angle in radians. Uses Rodrigues' rotation formula.
Returns the signed angle in radians between this vector and other with respect to the given axis.
Spherically interpolates between this vector and to by weight.
Returns a new vector slid along a plane defined by the given normal vector. Normal must be normalized.