S&box Wiki

Rotation.LookAt

Syntax

static Rotation LookAt( Vector3 forward )

Description

Create a Rotation (quaternion) from a forward and up vector

Arguments

Vector3 forward

Returns