pmndrs/use-cannon

Basic setup with useBox is wobbling and moving slowly

Open

#177 建立於 2021年4月8日

在 GitHub 查看
 (3 留言) (1 反應) (0 負責人)TypeScript (164 fork)github user discovery
bughelp wanted

倉庫指標

Star
 (2,950 star)
PR 合併指標
 (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?

貢獻者指南