Skip to content

Commit

Permalink
Disable matrix auto updates on particles
Browse files Browse the repository at this point in the history
  • Loading branch information
hmans committed Sep 26, 2022
1 parent a931a98 commit ccae725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vfx-composer-r3f/src/Particle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ export const Particle = forwardRef<Object3D, Object3DProps>((props, ref) => {
/* Forward the ref */
useImperativeHandle(ref, () => sceneObject.current)

return <object3D ref={sceneObject} {...props} />
return <object3D ref={sceneObject} matrixAutoUpdate={false} {...props} />
})

0 comments on commit ccae725

Please sign in to comment.