Garry's Mod Wiki

VMatrix:SetForward

  VMatrix:SetForward( Vector forward )

Description

Sets the forward direction of the matrix.

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

Arguments

1 Vector forward
The forward direction of the matrix.