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

x/remapper/src/wall.ts>modelToWall

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

Function to represent objects as walls.

Parameters

input: string | ModelObject[]

Can be a path to a model or an array of objects.

start: number

Wall's lifespan start.

end: number

Wall's lifespan end.

optional
wall: (wall: Wall) => void

A callback for each wall being spawned.

optional
distribution: number

Beats to spread spawning of walls out. Animations are adjusted, but keep in mind path animation events for these walls might be messed up.

optional
animFreq: number

The frequency for the animation baking (if using array of objects).

optional
animOptimizer = [UNSUPPORTED]

The optimizer for the animation baking (if using array of objects).