Garry's Mod Wiki

VMatrix:GetForward

  Vector VMatrix:GetForward()

Description

Gets the forward direction of the matrix.

ie. The first column of the matrix, excluding the w coordinate.

Returns

1 Vector
The forward direction of the matrix.