Table of Contents

Method PerpXY

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

PerpXY(Vector3)

Turns the vector 90 degrees anticlockwise as viewed from the front (keeping the z coordinate intact). Equivalent to

v.To2DXY().Perp().To3DXY(v.z);
public static Vector3 PerpXY(this Vector3 v)

Parameters

v Vector3

Returns

Vector3