Vector3 Left { get; set; }

robot_2Generated
code_blocksInput

Description

The Left property of the Rotation struct provides the left-hand direction vector of the current rotation. This is useful for determining the leftward direction relative to the rotation's orientation in 3D space.

Usage

To access the left-hand direction of a Rotation instance, use the Left property. This property returns a Vector3 representing the left direction.

Example

// Example of using the Left property
Rotation rotation = Rotation.From(0, 90, 0); // Create a rotation with 90 degrees yaw
Vector3 leftDirection = rotation.Left;

// Output the left direction
// leftDirection should be approximately Vector3(-1, 0, 0) if the forward is Vector3(0, 0, 1)