mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 00:35:52 +02:00
Update woodRingsPendantLight.ts
This commit is contained in:
@@ -107,7 +107,7 @@ export const woodRingsPendantLight = defineObject({
|
||||
const codeMesh = model.findMesh('__X_CODE__');
|
||||
|
||||
const applyLength = () => {
|
||||
mainNode.position.y = -remap(options.length, 0, 1, 0, 200) / WORLD_SCALE;
|
||||
mainNode.position.y = -remap(options.length, 0, 1, 0, cm(200)) / WORLD_SCALE;
|
||||
codeMesh.morphTargetManager!.getTargetByName('Length')!.influence = options.length;
|
||||
model.updated();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user