refactor: Clean up console logs and adjust MaterialSpawner properties
This commit is contained in:
@@ -21,7 +21,7 @@ function MaterialSpawner({ position: initialPos, spawnInterval, spawnCount }: Ma
|
||||
ref: React.RefObject<RapierRigidBody>;
|
||||
materialType: string;
|
||||
}[]>([]);
|
||||
const [spawningPaused, setSpawningPaused] = useState(false);
|
||||
const [spawningPaused, setSpawningPaused] = useState(true);
|
||||
const spawnedCount = useRef(0);
|
||||
const { gl, camera, pointer, controls } = useThree();
|
||||
const [draggedId, setDraggedId] = useState<string | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user