我在Ubuntu虚拟机上使用MongoDB和Mongochef GUI。我需要执行一个查询,该查询将插入我之前找到的数据。
我怎样才能做到这一点?我认为是这样的:
db.createCollection("prueba", { capped : true, size : 5242880, max : 5000 } )
db.gmap.find( { emotion: 1 } )
db.prueba.insertMany(db.gmap.find( { emotion: 1 } ))
Run Code Online (Sandbox Code Playgroud)
GMAP是我拥有的其他集合,并且find查询返回所需的数据。谢谢
我正在使用Bullet Physics Engine.我创建的世界基于:
每个运动和动态之间的碰撞按预期工作.
然而,当一个运动碰撞另一个时,它会超越,我需要它们碰撞并"对这个碰撞做出反应"(就像一个Dinamic身体)
我一直在寻找答案,但我没有找到任何解决方案.我能做什么?谢谢
collision-detection bullet kinematics collision bulletphysics