Skip to content

Commit

Permalink
changed fps from 10 to 60
Browse files Browse the repository at this point in the history
  • Loading branch information
pfcDorn committed Dec 11, 2024
1 parent 7ca83e6 commit 1705cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/engineViews/BabylonEngineComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1705cfe

Please sign in to comment.