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

x/remapper/src/model.ts>ModelScene#assignObjects

A framework for Beat Saber map scripting.
Latest
method ModelScene.prototype.assignObjects
import { ModelScene } from "https://deno.land/x/remapper@3.1.2/src/model.ts";

Assign a track in input ModelObjects to animate an existing object with identical track name.

Parameters

track: string | string[]

Track to check for and animate.

optional
scale: Vec3

The scale multiplier for the spawned object previously mentioned.

optional
anchor: Vec3

The anchor offset for the spawned object previously mentioned.

optional
rotation: Vec3

The rotation offset for the spawned object previously mentioned.

optional
disappearWhenAbsent = [UNSUPPORTED]

Make the object on this track disappear when no ModelObject with the corresponding track exists.