Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/mod.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/mod.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.