Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/deps.ts>three.Object3D#lookAt

A framework for Beat Saber map scripting.
Go to Latest
method three.Object3D.prototype.lookAt
Re-export
import { three } from "https://deno.land/x/remapper@3.0.0/src/deps.ts";
const { Object3D } = three;

Optionally, the x, y and z components of the world space position. Rotates the object to face a point in world space. This method does not support objects having non-uniformly-scaled parent(s).

Parameters

vector: Vector3

A world vector to look at.

Parameters

x: number
y: number
z: number