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

x/remapper/src/general.ts>worldToWall

A framework for Beat Saber map scripting.
Latest
function worldToWall
import { worldToWall } from "https://deno.land/x/remapper@3.1.2/src/general.ts";

Calculate the correct position for a wall to line up with a position in the world. Assumes that position is set to [0,0].

Parameters

optional
pos: Vec3 = [UNSUPPORTED]

Position of the wall in world space.

optional
rot: Vec3 = [UNSUPPORTED]

Rotation of the wall in world space.

optional
scale: Vec3 = [UNSUPPORTED]

Scale of the wall in world space.

optional
animated = [UNSUPPORTED]

Corrects for animated scale. If you are using this, plug [1,1,1] into static scale.