pmndrs/use-cannon

Basic setup with useBox is wobbling and moving slowly

开放

#177 创建于 2021年4月8日

 (3 条评论) (1 个反应) (0 位负责人)TypeScript (164 个派生)github user discovery
bughelp wanted

仓库指标

星标
 (2,950 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Consider the demo as follows:

https://codesandbox.io/s/r3f-basic-demo-forked-t64x8?file=/src/App.js

I created a ground plane using usePlane and placed a box on top using useBox. The objects are wrapped in a <Physics> component and a <Canvas>, both without props.

Issue: The box is wobbling and slowly moving out of place.

How to make this box stay in place?

贡献者指南