Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@2.1.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 | number

A world vector to look at.

optional
y: number
optional
z: number