three.js - How can I solve the tunneling problem in react three rapier? - Stack Overflow

I'm implementing a dice shaker where the dice are mixed by shaking a container. Is it possible to

I'm implementing a dice shaker where the dice are mixed by shaking a container. Is it possible to limit the speed of dice wrapped in a ? Occasionally, a tunneling issue occurs where the dice pass through the container walls. I've tried enabling CCD, increasing the thickness of the container walls, and reducing the shaking intensity, but it seems like the only solution is to limit the speed of the dice. Hence, I'm asking for advice.

This is what I want to implement.

First, I enabled the ccd for the RigidBody, decreased the range and speed of the cup's shake a bit, and increased the thickness of the cup. I also tried setting the timeStep value to 1/120.

When the cup is shaken, as shown in this video, I want the dice to safely shake without piercing the cup. Is there a different way to do it like in this video?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744709334a4589245.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信