Feature: books start levitating
This commit is contained in:
@@ -44,6 +44,11 @@ export function initState() {
|
||||
// Utilities
|
||||
loader: new THREE.TextureLoader(),
|
||||
landingSurfaces: [],
|
||||
bookLevitation: {
|
||||
state: 'resting', // 'resting', 'levitating', 'returning'
|
||||
timer: 0,
|
||||
},
|
||||
books: [], // Array to hold all individual book meshes for animation
|
||||
raycaster: new THREE.Raycaster(),
|
||||
seed: 12345,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user