2024-03-29 13:29 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004592Spring engineGeneralpublic2014-10-25 17:10
Reportersilentwings 
Assigned TojK 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version98.0 
Target VersionFixed in Version 
Summary0004592: collision checking sometimes fails for beamlasers
DescriptionSee demo, which is 98.0 with ba-test-3381. A corraid (cannon) and a corcrw (beamleser) fire at two corints. The corraid bullet always hits the corint model and collides with it, whereas the corcrw beamlaser frequently passes stright through the corint model without causing any damage.
Steps To ReproduceRun demo with /debugcolvol and /globallos.
Additional InformationI think this is related to corint having usepiececollisionvolumes = 1; I can only reproduce the issue with units that have it.

Note that the Dynamic Collision Volume gadget is not involved in the demo since luarules was disabled.

Maybe there is also something wrong with the beamlaser visuals? The beam does not seem to draw as often as I would expect, but the problem above makes it hard to tell if the weapon actually fired or not.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
has duplicate 0004596closedjK Big Bertha can hardly be selected with one click. 
+Relationships

-Notes

~0013774

jK (developer)

Last edited: 2014-10-25 15:56

View 2 revisions

You should enable /debugcolvol more often, cause:

armbrtha:
1. the target pos (small purple ball) is outside of the colvol
2. unit radius is null -> all collision checks do first a precheck with the unitradius before doing the colvol checks. so the unitradius must be larger or equal to the colvol!


corint:
1. the unit's midpos is on ground causing the unitradius not covering the top of the colvol


PS: there still is an engine bug.

+Notes

-Issue History
Date Modified Username Field Change
2014-10-19 19:26 silentwings New Issue
2014-10-19 19:26 silentwings File Added: 20141019_182556_DeltaSiegeDry_98.sdf
2014-10-19 19:27 silentwings File Added: screen00263.png
2014-10-25 15:08 jK Note Added: 0013774
2014-10-25 15:56 jK Note Edited: 0013774 View Revisions
2014-10-25 17:10 jK Relationship added has duplicate 0004596
2014-10-25 17:10 jK Changeset attached => spring develop 58377b0e
2014-10-25 17:10 jK Assigned To => jK
2014-10-25 17:10 jK Status new => resolved
2014-10-25 17:10 jK Resolution open => fixed
+Issue History