From 1705cfee780b7edf3f530338876f9c7e39d32f04 Mon Sep 17 00:00:00 2001 From: Robert Dorn Date: Wed, 11 Dec 2024 12:59:53 +0100 Subject: [PATCH] changed fps from 10 to 60 --- src/components/engineViews/BabylonEngineComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/engineViews/BabylonEngineComponent.tsx b/src/components/engineViews/BabylonEngineComponent.tsx index 829b1cc..fdccd82 100644 --- a/src/components/engineViews/BabylonEngineComponent.tsx +++ b/src/components/engineViews/BabylonEngineComponent.tsx @@ -153,7 +153,7 @@ export const BabylonEngineComponent = (props: {behaveGraphRef: any, setBehaveGra } const world = {glTFNodes: nodes, animations: animations, materials: materials}; - babylonEngineRef.current = new BabylonDecorator(new BasicBehaveEngine(10), world, scene) + babylonEngineRef.current = new BabylonDecorator(new BasicBehaveEngine(60), world, scene) const extractedBehaveGraph = babylonEngineRef.current.extractBehaveGraphFromScene() if ((!behaveGraph.nodes || behaveGraph.nodes.length === 0 || shouldOverride) && extractedBehaveGraph) {