如何在子弹物理引擎中模拟传送带?
我正在编写一个模拟,其中我们需要对一些盒子在一组传送带上移动时进行相当准确的建模。目前,我们检测盒子是否与静态传送带表面碰撞,并根据传送带的预期速度向每个盒子施加脉冲。有没有办法让实际的输送机表面移动并使其缠绕或在出料端溶解并从进料端生长?只需要使用的项目符号类和方法的名称就会真正有帮助。
I am writing a simulation in which we need some boxes to be fairly accurately modeled as they move on a set of conveyors. Currently we detect if the box is colliding with the static conveyor surface and apply an impulse to each box according to what the conveyor speed is supposed to be. Is there a way to make the actual conveyor surface move and have it either wrap around or kind of dissolve on the outfeed end and grow from the infeed end? Just the names of which bullet classes and methods to use would really help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用特殊的摩擦模式以及目标速度和方向来模拟输送机。
请参阅http://bulletphysicals.org/Bullet/phpBB3/ viewtopic.php?f=9&p=21441#p21441 用于工作演示和实现。
You can use special friction mode, with a target velocity and direction to simulate a conveyor.
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&p=21441#p21441 for a working demo and implementation.