-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lessen the jittering of the blocks #240
Comments
I'm not super familiar with this project so I'm not sure why this happens, but this exact same issue happened to me when upgrading to |
I'm also experiencing this issue. Here's a video |
@bjornstar @codynova this was also reported on discord,
something about a fixed time step. the change is between 0.5.4 and 0.5.5 r3f-performance-issue.mov |
This was reported as issue #293 |
This issue is connected with #177.
According to this issue on cannonjs , this jittering of objects also exists in cannonjs. I examine the jenga example in cannon-es and after some time, the jenga example will fall, so also exists in cannon-es.
I did a test in this demo sandbox using use-cannon and cannon-es and you can see that the use-cannon blocks are still jittering after landing on ground. I increase gravity to -100 to make it more apparent on the movement. The result is that both are moving with close inspection of the blocks but the blocks in use-cannon are much more strong than the movement in cannon-es.
If you were to subscribe to the use-cannon block with
api
, velocity never reaches zero.If the vibration of the blocks exists in all three packages, then is it possible to lessen the jittering in use-cannon?
The text was updated successfully, but these errors were encountered: