animate award

This commit is contained in:
2025-11-30 14:01:59 +02:00
parent f7d6244fa5
commit 8cea89b7ff
3 changed files with 60 additions and 27 deletions
@@ -102,9 +102,10 @@ class MazeQuizGame extends EventDispatcher {
userData: { finish: true },
objects:[
{
type: 'Gltf',
type: 'GltfObject',
position:[0,.22,len + .52], scale: [0.33, 0.33, 0.33], rotation: [0, Math.PI/4, 0],
value: '/static/meshes/quiz/trophy.glb'
value: 'trophy.glb', path: imgParams.path, distance: params.wallSize*2,
motion: { a:{rotation: { y: k=>k*Math.PI*2 }}, r: true, t: 4 }
}
]
};