Trait ark_api::CoordinateSystem
source · [−]pub trait CoordinateSystem {
fn up() -> Self;
fn down() -> Self;
fn right() -> Self;
fn left() -> Self;
fn forward() -> Self;
fn back() -> Self;
}Expand description
Coordinate system extension to Vec3
This crate is opinionated with what coordinate system it uses and this adds additional functions to acccess the coordinate system axis
The exact coordinate system we use is right-handed with +X = right, +Y = up, -Z = forward, +Z = back
Required Methods
A unit length vector pointing in the canonical right direction.
This is the right hand side of a first person character.
A unit length vector pointing in the canonical forward direction.
This is the direction a character faces, or a car drives towards.
