bullet physic - infinity field / plane

时间:2017-07-19 08:27:58

标签: model bulletphysics bullet

我想将urdf或sdf模型用于无限平面以建模Bullet Physic。我尝试设置大数字来调整盒子几何尺寸,但它会崩溃,也许是引擎中的数字溢出。见代码:

<?xml version="0.0" ?>
<robot name="infinity_plane">
  <link name="planeLink">
  <contact>
      <lateral_friction value="1"/>
  </contact>
    <inertial>
      <origin rpy="0 0 0" xyz="0 0 0"/>
       <mass value=".0"/>
       <inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
    </inertial>
    <collision>
      <origin rpy="0 0 0" xyz="0 0 -5"/>
      <geometry>
        <box size="3000000000000000 3000000000000000 10"/>
      </geometry>
    </collision>
  </link>
</robot>

我可以做一些box size = "inf inf 10"吗?

0 个答案:

没有答案