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

x/remapper/src/model.ts>applyAnchor

A framework for Beat Saber map scripting.
Go to Latest
function applyAnchor
import { applyAnchor } from "https://deno.land/x/remapper@3.0.0/src/model.ts";

Get the anchor offset for an object based on various transforms.

Parameters

objPos: Vec3

Position of the object.

objRot: Vec3

Rotation of the object.

objScale: Vec3

Scale of the object.

anchor: Vec3

Anchor vector to move the object.