Vector Unit Cartesian to Spherical

Vector Unit Cartesian to Spherical

Choose your operating system:

Windows

macOS

Linux

Converts a Cartesian unit vector into spherical coordinates on the unit sphere.

Target is Kismet Math Library

Vector Unit Cartesian to Spherical
A
X0
Y 0
Z 0
Return Value
X0.0
Y0.0

Inputs

A
Vector

Outputs

Return Value
Vector 2D Structure

Output Theta will be in the range [0, PI], and output Phi will be in the range [-PI, PI].