View Issue Details

IDProjectCategoryView StatusLast Update
0002068Spring engineGeneralpublic2010-08-31 14:00
Reporterazaremoth Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version0.82.3 
Summary0002068: some weapon types do not hit units with cylinder or box collision spheres
DescriptionAt least lasercannon and missiletype projectiles do not hit units with "smaller" cylinder or box type collision spheres from certain angles. Plasma cannons still do hit units with a cylinder and the bigger the collision sphere is the more often weapons can hit the target.

Sphere type collision spheres are working fine.
Additional Informationused collision sphere:

collisionVolumeOffsets = "0 0 0",
collisionVolumeScales = "15 30 15",
collisionVolumeType = "CylY",

weapon:
 ASSAULT_RIFLE = {
    avoidFriendly = false,
    CollideFriendly = 0,
    accuracy = 50,
    areaOfEffect = 20,
    coreThickness = 0.5,
    cylinderTargetting = 1,
    duration = 0.03,
    explosionGenerator = "custom:SMALL_BULLET_FX",
    interceptedByShieldType = 2,
    name = "Defender Gun",
    range = 300,
    reloadtime = .6,
    renderType = 0,
    rgbColor = "1.0 1.0 0.66",
    soundHit = "defender_hit",
    soundStart = "battlegun",
    soundStartVolume = 15,
    soundTrigger = true,
    texture1 = "yellowgunshot",
    texture2 = "NULL",
    texture3 = "NULL",
    thickness = 0.75,
    tolerance = 3000,
    turret = true,
    weaponType = "LaserCannon",
    weaponVelocity = 2000,
    damage = {
      default = 50,
      flyer = "50",
      heavy = "25",
      light = "50",
    },
  },
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2010-08-31 14:00

developer   ~0005406

Can be solved by adding

    collisionVolumeTest = 1

to each unit definition.

Issue History

Date Modified Username Field Change
2010-08-30 23:29 azaremoth New Issue
2010-08-31 14:00 Kloot Note Added: 0005406
2010-08-31 14:00 Kloot Status new => closed
2010-08-31 14:00 Kloot Resolution open => no change required