pmndrs/use-cannon

Basic setup with useBox is wobbling and moving slowly

オープン

#177 opened on 2021/04/08

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (164 件のフォーク)github user discovery
bughelp wanted

Repository metrics

Stars
 (2,950 個のスター)
PR merge metrics
 (30d に merged 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?

コントリビューターガイド