2025-08-01 19:06 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005144Spring engineGeneralpublic2016-03-07 13:53
Reporterjamerlan 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
Product Version101.0 
Target VersionFixed in Version 
Summary0005144: hitsphere of closed unit
DescriptionBullets are flying through hitsphere and not hitting this closed viper https://youtu.be/PKYlhL_bQ3o?t=1m8s
the same for laser weapons

I guess I can set the center of the unit lower.. but still this is not a very good solution/work around
Additional InformationBA 9.35 + spring 101
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0015994

Kloot (developer)

Last edited: 2016-03-07 00:26

View 2 revisions

the engine atm does not like units that use piece collision volumes in one state, but not in another (open vs closed corvipe).

~0015997

jamerlan (reporter)

Kloot, what do you mean by "not in another"?

Unit is using usepiececollisionvolumes = 1
http://imolarpg.dyndns.org/trac/balatest/browser/trunk/units/corvipe.lua#L34

and we have a configuration for pieces: http://imolarpg.dyndns.org/trac/balatest/browser/trunk/luarules/configs/collisionvolumes.lua#L208

so it's still uses "piececollisionvolumes" in closed state. Just for 1 piece:
http://imolarpg.dyndns.org/trac/balatest/browser/trunk/luarules/gadgets/unit_dynamic_collision_volume.lua#L106

~0015999

Kloot (developer)

I know, my explanation was simplified.

For corvipe, the custom configuration in the closed state is too different from its "true" closed state and causes an optimization test to always fail.

A fix is possible but will take some work.
+Notes

-Issue History
Date Modified Username Field Change
2016-03-06 23:06 jamerlan New Issue
2016-03-07 00:26 Kloot Note Added: 0015994
2016-03-07 00:26 Kloot Note Edited: 0015994 View Revisions
2016-03-07 13:34 jamerlan Note Added: 0015997
2016-03-07 13:53 Kloot Note Added: 0015999
+Issue History