Variable COLLISION_TYPESConst

COLLISION_TYPES: {
    boxBox: 4;
    boxConvex: 20;
    boxCylinder: 132;
    boxHeightfield: 36;
    boxParticle: 68;
    convexConvex: 16;
    convexCylinder: 144;
    convexHeightfield: 48;
    convexParticle: 80;
    cylinderCylinder: 128;
    heightfieldCylinder: 160;
    particleCylinder: 192;
    planeBox: 6;
    planeConvex: 18;
    planeCylinder: 130;
    planeParticle: 66;
    planeTrimesh: 258;
    sphereBox: 5;
    sphereConvex: 17;
    sphereCylinder: 129;
    sphereHeightfield: 33;
    sphereParticle: 65;
    spherePlane: 3;
    sphereSphere: 1;
    sphereTrimesh: 257;
}

Type declaration

  • boxBox: 4
  • boxConvex: 20
  • boxCylinder: 132
  • boxHeightfield: 36
  • boxParticle: 68
  • convexConvex: 16
  • convexCylinder: 144
  • convexHeightfield: 48
  • convexParticle: 80
  • cylinderCylinder: 128
  • heightfieldCylinder: 160
  • particleCylinder: 192
  • planeBox: 6
  • planeConvex: 18
  • planeCylinder: 130
  • planeParticle: 66
  • planeTrimesh: 258
  • sphereBox: 5
  • sphereConvex: 17
  • sphereCylinder: 129
  • sphereHeightfield: 33
  • sphereParticle: 65
  • spherePlane: 3
  • sphereSphere: 1
  • sphereTrimesh: 257